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 PROTECTED]> 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 [EMAIL PROTECTED] with
> the word "unsubscribe" in the message body, e.g., run the command
> echo unsubscribe | mail [EMAIL PROTECTED]
--
http://www.rshell.org
Join #shellcode on EFnet.
[EMAIL PROTECTED]
=================================================================
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]