DSL Tips and Tricks :: Root password for live CD



Quote (mikshaw @ Mar. 08 2006,09:26)
there's no password.

You can become root with the command "sudo su".
You can use root power for a single program with "sudo <program>".
You can create a password with the "passwd" command.
You can be prompted to create a password when you boot by using the "secure" boot option.
You can keep your current password persistent by backing up /etc/shadow.

I read your reply  regarding passwords.  It sounds good, but I get a password prompt whenever I enter the "sudo su" command.  I am attempting to edit lilo.conf so that I can have a dual boot with Windows and Linux.  Whenever I try to edit lilo, I get a read-only file which I can't edit.  Whenever I try to use the "sudo su" command to enable editing on this file, I get a password prompt.  I don't know of a password.  Any suggestions???

Thanks!

Then you must have entered a password then forgot it :P

Depending on how you set up DSL, you could copy your lilo.conf to an unencrypted storage place, then boot with "dsl norestore".

Might also have messed with sudoers

original here.