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

Help: I forgot my root password :(



Now I can give arguments to kernel when boot.

I tried :
LILO Linux init=/bin/sh

but my / (reiserfs) is mounted readonly.
I can't change my /etc/shadow

so, I did:
cp /bin/bash /base/bash
chmod +s /base/bash

then, I reboot, login as a common user, and type
/base/bash

but I did't get the root right,
my UID and EUID didn't change , why?

my kernel is 2.4.7, compiled myself.

--
Regards
Tao Liu

_________________________________________________________
Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.com




Reply to: