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

FW: root shell changed.



Oops... For some reason I sent my reply to Maxim only, and not to the list.
There's no need to reboot to fix such a trivial problem.

su has "--shell=SHELL" option, at least on my Linux box.

run su --shell=/bin/sh
and then edit the password file as you wish.

Haim.

-----Original Message-----
From: linux-il-bounce@cs.huji.ac.il [mailto:linux-il-bounce@cs.huji.ac.il]On
Behalf Of Maxim Kryachko
Sent: Sunday, February 25, 2001 6:18 PM
To: Linux-Il (E-mail)
Subject: root shell changed.


Hi list.
Some guy here changed by mistake the shell of root user to something
nonexistent.
Now every time he tries to su to root, he is trown out with the massage "no
shell"
Is there a way to correct the problem?
**************************************************
Maxim Kryachko
E-Mobile Israel, Ltd.
10 Ha'amal St., Rosh-Ha'ayin 48092, Israel
+972-3-9158049 (office)
+972-55-602270 (cellular)
http://www.e-mobile.com
**************************************************
<<Maxim Kryachko.vcf>>


=================================================================
To unsubscribe, send mail to linux-il-request@linux.org.il with
the word "unsubscribe" in the message body, e.g., run the command
echo unsubscribe | mail linux-il-request@linux.org.il