Password Recovery and Single User mode
I've got a SuSE Linux box but don't know the root password.
I've tried the following, but it doesn't work as it still asks for a root password. Any ideas?? >>>>> I' tried.... 1. At LILO prompt: linux single 2. The machine then boots into Single User mode, but then instead of getting a # prompt, it asks for the Root password - which is not 'blank', as I've tried that. I've also tried booting from a floppy boot disk, but I get the same, as if whilst booting, it detects the hard disk, and reads those root password files. <<<<<<< thanks in advance for any help!! __________________ |
Boot from rescue disk, edit /etc/shadow and delete all between first two : in root line. It looks like this
root:strange_texts:****** |
unable to edit shadow file
thanks for the advice, but, when i boot using the rescue disk, and in single user mode, the hard disk partition containing the shadow file is automatically mounted as read-only.
any ideas how i can get to change the shadow file? i guess i need to somehow mount the partition as read/write, but it's not happening - unless i'm not doing it right???? :( |
lilo
# Linux init=/bin/bash # mount -n / -o rw # passwd root should do it verigoth |
When you boot up with the rescue disk, try entering
linux single rw. I hope that works. |
All times are GMT -5. The time now is 07:42 PM. |