Re: root shell changed.

2001-02-25 Thread Rasta C. Shell
Thats why like someone said here you have to boot to a lilo prompt and pess a init=/bin/sh parameter to lilo. then you have to mount -n -o remount,rw / , mount /usr for vi and edit /etc/passwd. don't forget to umount /usr and mount -n -o remount,ro / befor you poweroff. Adi Stav <[EMAIL PROTECTE

Re: root shell changed.

2001-02-25 Thread Adi Stav
On Sun, Feb 25, 2001 at 05:35:11PM +0200, Sagi Bashari wrote: > boot in single user mode (ie. linux 1), edit your /etc/passwd file, and > change it. But you can't login without a valid shell, not even in single user mode... = To uns

RE: root shell changed.

2001-02-25 Thread Alex Rier
Title: root shell changed. Hi,   To solve the problem: 1. Boot from CD 2. Mount / 3. Fix /etc/passwd 4. Reboot and be happy!   Alex Rier  | ICQ:    96993521Unix/Linux Consultant  | Tel:  +972-52-442549Breakthrough Ltd.  | FAX:  +972-3-5364060htt

Re: root shell changed.

2001-02-25 Thread Adi Stav
On Sun, Feb 25, 2001 at 05:18:12PM +0200, Maxim Kryachko wrote: > 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? Check ou

Re: root shell changed.

2001-02-25 Thread Sagi Bashari
boot in single user mode (ie. linux 1), edit your /etc/passwd file, and change it. Sagi On Sun, 25 Feb 2001, Maxim Kryachko wrote: > 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 m