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

Re: Questions regarding bash and sh.

On Wed, May 20, 2009 at 01:19:24PM -0700, Ken Teague wrote:
> Sthu Deus wrote:
>> 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?
> In Debian, absolutely nothing since it's a symbolic link to bash...

Though by policy /bin/sh should not be assu,ed to be bash. In practice
many people do set it to dash (e.g. the U distro).

Tzafrir Cohen         | tzafrir@jabber.org | VIM is
http://tzafrir.org.il |                    | a Mutt's
tzafrir@cohens.org.il |                    |  best
ICQ# 16849754         |                    | friend

Reply to: