Dave Bourassa said: > Curtis Sloan wrote: >> Why do I always forget single-user mode? This is the way to go. >> >> Thanks, Szemir. >> >> Curtis >> >> On Mon May 3 2004 18:51, bogi wrote: >> >>>Need to restart the system in single mode. With Lilo, it is a -s switch, >>>with grub you add single to the boot-params of the kernel. This should >>> drop >>>you onto a root-shell, change the root password: passwd root >>>Type in what you want :-) Just remember it :-) , then CTRL+d to exit the >>>root-shell. The system should reboot then, restart it normally. done. >>> >>>Cheers >>>Szemir >>> >>>On May 3, 2004 18:30, Dave Bourassa wrote: >>> >>>>Okay I confess. I seem to have forgotten the root pw for my wife's >>>> SuSE >>>>9.0 box. I have the user id and pw, but I can't for the life of me >>>>remember the root pw. What's the easiest way to recover from this >>>>calamity? All I wanted to do was reset the clock for daylight saving >>>>time and it wants root access to do it. Of course I should have it for >>>>other stuff anyway, so any help will be appreciated. Thanx a bunch. > > Thanx for the help, guys. I've tried the single user mode, though, and > it comes up and asks me for the pw before I can get into it. Is it > something new with SuSE 9.0 and grub, to increase security? I'll check > into the links provided after work today, unless you have any more ideas > on the single user mode trick. > > Thanx again. > --
Single user mode won't usually work for this kind of thing anymore in most newer distro versions, they have enabled password protection on single usermode to prevent this kind of thing. You will need to boot the computer with a bootable Linux CD, mount your / filesystem and then edit your /etc/shadow file by hand. The other way is to boot off the CD, mount / and then chroot onto your mounted / filesystem and run the passwd program. Cheers, Trevor _______________________________________________ clug-talk mailing list [EMAIL PROTECTED] http://clug.ca/mailman/listinfo/clug-talk_clug.ca

