You bring up a good issue though.. If you lose a password and reset it, isn't that a security hole? how can you stop someone from resetting or changing the root password ... thanks JJ -----Original Message----- From: William Dulyea [SMTP:wdulyea@qualcomm.com] Sent: Tuesday, May 28, 2002 5:05 PM To: tabanna@aig.forthnet.gr; suse-linux-e@suse.com Subject: Re: [SLE] Lost my root password Thanks to everyone that replied. -William At 05:57 PM 5/28/2002 +0000, tabanna wrote:
On Tue, 28 May 2002, William Dulyea wrote:
Over the weekend I was helping my brother
someone who knows, wrote, the other day :- ___________________
Yeah, boot the system with the floppy and choose to start the rescue system. (There are alot of ways to do this, some like the cdrom rescue boot) So boot up, it will say "Yomamma" or "Rescue", and you won't have to have a password. Then say your / partition is /dev/hda3, do mount -t ext2 /dev/hda3 /mnt (use reiserfs if required) then vi /mnt/etc/shadow and find the root entry and delete everything between the first 2 colons after the root entry. When done it should look like root::100112:......... JUST MAKE THE FIRST 2 COLONS ADJACENT hit : w to write and exit vi reboot, and you will get a root prompt but not need a password. You're back.......just enter passwd to set a new root passwd and then change all user passwords back to something you remember. ...................
best wishes
____________
sent on Linux
____________
-- To unsubscribe send e-mail to suse-linux-e-unsubscribe@suse.com For additional commands send e-mail to suse-linux-e-help@suse.com Also check the archives at http://lists.suse.com
-- To unsubscribe send e-mail to suse-linux-e-unsubscribe@suse.com For additional commands send e-mail to suse-linux-e-help@suse.com Also check the archives at http://lists.suse.com