AMHA,
An other way, or if single no more exist 
(Sorry Bascule, I doubt it can be done in this mode):

Start with the boot and rescue disk (cd inserted).
After the intro message (if message is), type exit.
Mount a root partition on the HD, utilize fdisk -l to see 
the existing partitions.
After mount it as 
/mnt/rootpart
edit the file with the command:
vi /mnt/rootpart/etc/passwd
the first line will be:
root:F.h5fh/fj4:0:0/root:/bin/bash
With the x key delete all the chars between roo: and :0:0
Must be:
root::root:/root:/bin/bash
Save with ZZ (vi command)
Verify with
cat /mnt/rootpart/etc/passwd
Then unmount as
umount /mnt/rootpart
Type exit and Ctrl+Alt+Del
Now after boot you are connected as root but without
password.
Simply type 
passwd
to set a new password for root.
Hope I didn't forget somewhat.....eh
Eric


bascule wrote:
> 
> at the lilo prompt, try
> 
> linux s or linux single
> 
> on some systems this will boot the machine to a single user mode with no
> need to login, then you can run (if memory serves) 'passwd root' at the
> prompt and change the password for root
> 
> some people think this is a security flaw in linux but i have read that
> this behaviour can be turned off and i believe is done so if mandrake is
> installed with 'high' security mode but i'm not sure about that, maybe
> someone can confirm or deny?
> hope this helps
> 
> bascule
> 
> [EMAIL PROTECTED] wrote:
> >
> > Hello
> >         Somehow I lost root password. Is thre any way to login
> > as root again?
> >
> > Thanks a lot.
> >
> > Eduardo

Reply via email to