On Sun, Feb 25, 2001, Sagi Bashari wrote about "Re: FW: root shell changed.":
> well, you don't have that option in any version of su.
> for example, i'm using here slackware-current with shadow-19990607 - no
> such option..

This is weird... su has a --shell (or better: -s) option in my Redhat
7.0, and also in an antique Redhat 5.2 I have access to. This option
should be recognized by any modern (i.e, of the last 5 years or so) version
of GNU sh-util's su. Do slackware write their own su or something?

That this option is not available on other Unix systems, such as
Solaris 5.6 (for example) if you don't install GNU su.

Many years ago, before home computers were hooked up to the network, I
had setuid shell stashed in my directory somewhere, just in case something
goes wrong ;) Nowadays I wouldn't recommend doing that...

But anyway, as people already suggested, the init linux=/bin/sh (or
whatever the correct format of that line is) is the best solution.

-- 
Nadav Har'El                        |         Sunday, Feb 25 2001, 3 Adar 5761
[EMAIL PROTECTED]             |-----------------------------------------
Phone: +972-53-245868, ICQ 13349191 |Despite the cost of living, have you
http://nadav.harel.org.il           |noticed how it remains so popular?

=================================================================
To unsubscribe, send mail to [EMAIL PROTECTED] with
the word "unsubscribe" in the message body, e.g., run the command
echo unsubscribe | mail [EMAIL PROTECTED]

Reply via email to