On Fri, 2004-09-03 at 18:46, Rakesh Deshmukh wrote:
Hi, I forgot my root password of Suse 9.1. Anyone knows how can i get new password. Please help me Rakesh Deshmukh
I didn't see any root password recovery information in the SuSE documentation, but I have the following an old Mandrake User Administration guide. 1. Reboot to init 1 LILO - type linux init 1 GRUB - hit the 'e' key twice and add init 1 to the boot command and a 'b' to boot. 2. Edit the shadow file with vi /etc/shadow Position the cursor just after 'root:' type 'dw' and then :wq 3. Type 'init 6' to reboot. 4. Boot into 'init 3' this time. 5. Type 'root' for the account and just hit <ENTER> at the "password" prompt. 6. Then type 'passwd' followed by the new password for root. Like I said, this came out of a Mandrake user guide. If anyone on the list sees an error in this, I hope they will post a correction. Barry