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

root's shell




in one of the Linux dinners we discussed th reasons for keeping root under
a simple bash shell, and noone could give a good excuse other than
"because in Sun they do it like that". no I see there are a few more
reasons, other than /usr/bin possibly being mounted from NFS, /usr/lib is
needed too...

is csh (tcsh) on linux systems staticly linked? how can one tell?


---------- Forwarded message ----------
Date: Thu, 3 Jul 1997 07:28:37 -0700
From: Brad Powell <brad.powell@WEST.SUN.COM>
To: BUGTRAQ@NETSPACE.ORG
Subject: Re: Solaris 2.5 syslog startup failure

Lauren writes:
>The file /etc/init.d/syslog in Solaris 2.5.1 (Sparc version, latest
>patch set), does not identify which shell should execute it.
>If root is set to use csh (instead of sh or ksh), syslog will fail to
>start.

Whoa here. I agree its a bug but be *extreamly* shy about using anything
except /sbin/sh for root's shell.. Why? well the files in /sbin are different
than /usr/bin for a reason. They are -statically linked-  Unless you have
a statically linked version of csh you had better think twice about using
it for roots shell. The first time you can't mount /usr(/lib) because of
a problem and need to boot single user mode to fix it, you will be glad
you have a static version of the shell.

Brad


Follow-Ups: