|
Posted by Moe Trin on December 28, 2005, 2:42 pm
If you were Registered and logged in, you could reply and use other advanced thread options
On 28 Dec 2005, in the Usenet newsgroup comp.security.misc, in article
>This morning I had to recover a lost root password on a SUSE Linux
>machine,
You can't _RECOVER_ the old password. All you can do is _change_ it to
some new value, or remove it completely.
>and found a safe and easy way to do this *whithout* hand editing the
>/etc/passwd and /etc/shadow files.
Web Results 1 - 10 of about 5,500,000 for Linux forgot password. (0.29
seconds)
Web Results 1 - 10 of about 1,290,000 for Linux password rescue. (0.28
seconds)
You mean you managed to use a search engine? Wow!
>Cool enough to be shared. Easily adaptable to other situations.
When you have physical access to the system, you own it. Been that way
for over fourteen years in Linux, and maybe thirty years in UNIX. In
the case of Linux, you don't even need the rescue system disc. Read the
BootPrompt-HOWTO, or use the same search engine you posted from to search
the news group 'comp.os.linux.security'. With LILO (and the similar 'milo'
and 'silo'), Loadlin, and friends, passing the arguement '1' or 'single'
is a big hint. If you are using GRUB, it's marginally harder. If you read
the man pages for your boot loader, you _might_ even discover the (several)
ways to prevent this. Imagine that!!!
Old guy
|