Re: itp: static bins / resolving static debian issues
Hamish, don't worry about it. Craig is being paranoid, which is usually
a very good attitude for a Unix admin, but in this case it's not
necessary paranoia. Cron ignores the shell you declare in /etc/passwd
and always uses /bin/sh, unless you tell it to use something else.
Very, very little depends on roots shell.
If /bin/sh were switched to something other than bash, then bash-isms
need to be eliminated from all /bin/sh scripts. This will take a long
while to happen, since the problem is pervasive. Probably Debian should
"deprecate" the use of bash-isms for /bin/sh, but take several years
to get around to making the switch.
On Fri, Aug 20, 1999 at 02:09:53PM +1000, Hamish Moffatt wrote:
> On Fri, Aug 20, 1999 at 10:06:31AM +1000, Craig Sanders wrote:
> > e.g. someone who's been running debian for years and has various
> > bashisms and posixisms in /var/spool/cron/crontabs/root - root's shell
> > has always been bash on debian so that is a fairly common situation.
> > changing root's shell to sash will immediately break those cron jobs.
> Obviously it would not be a good idea to automatically
> change root's shell. However, if the admin wants to do it there
> should be no harm; I have root's shell set to tcsh [*] on one machine.
> [*] Flames and other commentary on tcsh to /dev/null.
> Hamish Moffatt VK3SB (ex-VK3TYD).
> CCs of replies from mailing lists are welcome.
> To UNSUBSCRIBE, email to firstname.lastname@example.org
> with a subject of "unsubscribe". Trouble? Contact email@example.com