[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Questions regarding bash and sh.



Good day.

I have noticed that for some users in /etc/passwd the shell environment
is set as bash and for some as sh. This has led me to the following
questions:

. Why is it so, meaning what is the meaning of it?

. Do I give more insecure environment to a user setting for him sh
instead of bash?

. Why I see that it works different regarding the set environment
(for some sh, for others bash), for, say, autorun scripts such
as .profile, bash_profile, if sh links to bash?

Thank You for Your time.


Reply to: