[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: root shell changed.
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 <stav@actcom.co.il> wrote:
> 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 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
--
http://www.rshell.org
Join #shellcode on EFnet.
rasta@rshell.org
=================================================================
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