my ROOT is DEAD ! What am I going to do ?!

Floyd Davidson floydd at chinet.chi.il.us
Thu Sep 20 14:13:18 AEST 1990


In article <2633 at ttardis.UUCP> rlw at ttardis.UUCP (Ron Wilson) writes:
>In article <1990Sep18.035609.9248 at chinet.chi.il.us>, floydd at chinet.chi.il.us (Floyd Davidson) writes:
>>In article <1070 at das13.snide.com> dave at das13.snide.com (das13!dave) writes:
>>>In article <245 at geocub.greco-prog.fr>, lath at geocub.greco-prog.fr (Laurent Lathieyre) writes:
>>>> 
>>>> /bin/rootsh is a shell script which make an echo to warn
>>>> that you are super-user and make /bin/ksh
>>>> /bin/rootsh has the following access rights -rwx------ root users
>>>
>>>The shell script is your problem.  If you aren't running 'sh' or 'ksh', whats
>>>going to run your shell script?  What you need is a 'C' program!  Try this one.
>>
>>The default in /etc/password can be set to a shell script, and in some
>>cases it is very handy.  You do not get the services of /etc/profile
>>or a $HOME/.profile, instead you get exactly what you put in the shell
>>script.
>
>It's been my experience that login and su insist on the shell for root be
>/bin/sh

True for the root login.  Sorry if I implied that, it was not
intended.  Several things break if root doesn't default to /bin/sh
by name.  Others will break if it does not provide the functionality
of sh.

The previous statement implied that a C program would work as the
default login shell and that a script would not.  In fact either
will work.



More information about the Comp.sys.att mailing list