---------------------------- Original Message ---------------------------- Subject: Re: [opensuse] su password lost From: [EMAIL PROTECTED] Date: Sun, April 22, 2007 11:22 pm To: "James Knott" <[EMAIL PROTECTED]> --------------------------------------------------------------------------
> StephenW wrote: >> I can no longer access su. >> I have only ever used one of two passwords. Neither of them will work today. >> >> Suggestions for correction? >> >> winstephen >> > You would normally use the root password, unless you're trying to su to another user. If you've "forgotten" the root password, it is possible to remove or replace the existing root password, by booting from a rescue disk and manipulating the /etc/password and shadow files. However, I have neven had a need to do that, so I can't speak from experience. > > > -- > Use OpenOffice.org <http://www.openoffice.org> > -- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] if u don't have a rescue disc such as knoppix, etc && your grub isnt locked do this 1. choose the "Failsafe -- openSUSE 10.2" option (it must be the last option if u don't touch the /boot/grub/menu.lst) when u face the grub start 2. press e 3. highlight the line with kernel word just like this: " kernel /boot/vmlinuz-2.6.18.2-34-default root=/dev/sda3 vga=normal showopts ide=nodma apm=off acpi=off noresume nosmp noapic maxcpus=0 edd=off 3 " then edit it till like this "kernel /boot/vmlinuz-2.6.18.2-34-default root=/dev/sda3 single init=/bin/bash" 4. after it done press "b" 5. in short time you will be on root prompt xxx# 6. then do this passwd for new root's password 7. or u can do this vi /etc/shadow edit the strange string between root:@[EMAIL PROTECTED]@#%FDFAFADFW!#$#$#234123: till become root:: hope it will work 4 u.... btw i first and last time i try on debian etch it doesn't work..... i will try on openSuse 10.2 (whoaaa ====> yess.....it worked....) cheers, tambun -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]