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

Re: Questions regarding bash and sh.



On Thu,21.May.09, 13:46:19, Tzafrir Cohen wrote:
> 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).

It was a release goal for lenny[1] and it almost made it. Now it has 
been proposed again for squeeze[2].

I have /bin/sh linked to dash for a long while, and haven't seen any 
problems.

[1] http://release.debian.org/lenny/goals.txt
[2] http://wiki.debian.org/SqueezeReleaseGoals

Regards,
Andrei
-- 
If you can't explain it simply, you don't understand it well enough.
(Albert Einstein)

Attachment: signature.asc
Description: Digital signature


Reply to: