[Top][All Lists]

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

Re: documentation bug (uid resetting in posix mode)

From: Bob Proulx
Subject: Re: documentation bug (uid resetting in posix mode)
Date: Tue, 30 Oct 2012 12:37:14 -0600
User-agent: Mutt/1.5.21 (2010-09-15)

Stefano Lattarini wrote:
> Anyway, my /bin/sh is bash ...
>   $ ls -l /bin/sh
>   lrwxrwxrwx 1 root root 4 Jul  8  2010 /bin/sh -> bash
> I'm on Debian Unstable BTW (sorry for not specifying that earlier).

Let me say this aside on the issue since there is opportunity for some
confusion.  On Debian the default for new installations is that
/bin/sh is a symlink to dash.  But existing systems that are upgraded
will not get this change automatically and will remain as a symlink to
bash.  It must be specifically selected if desired.  Therefore the
selection of /bin/sh is bi-modal with many systems of either
configuration.  The dash NEWS file says:

  * The default system shell (/bin/sh) has been changed to dash for
    new installations.  When upgrading existing installations, the
    system shell will not be changed automatically.
  * One can see what the current default system shell on this machine
    is by running 'readlink /bin/sh'.
  * Change it by running 'dpkg-reconfigure dash'. 

The 'dpkg-reconfigure dash' will present a question with the previous
value allowing the admin to reconfigure it to a different value.  The
selected value is sticky and will persist through upgrades until changed.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]