From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 111c93,a7c93f918976ba99 X-Google-Attributes: gid111c93,public From: David Hagood Subject: Re: Forgot my password - Red Hat on Alpha Date: 1998/11/22 Message-ID: <36584392.9EC0E024@sktc.net>#1/1 X-Deja-AN: 414521206 Content-Transfer-Encoding: 7bit References: <72i6n8$qkn$1@nnrp1.dejanews.com> <364CB9D8.47836EC0@psc.edu> <3651A1FF.A04103B8@hotmail.com> X-Accept-Language: en Content-Type: text/plain; charset=us-ascii Organization: SouthWind Internet Access, Inc. Mime-Version: 1.0 Newsgroups: comp.os.linux.alpha > Does anybody know how I can log back into my system after forgeting a root > > > password? I tried using boot/root disk but the root disk brings me into this > > > installation menu which doesn't let me get to the /etc/passwd on my hd. For any linux system, the easiest way to work around this is to boot into single user mode: Under LILO (x86 systems), from the LILO prompt type "linux single" (or whatever you call your boot image followed by the word single). Under MILO (axp systems), from the MILO prompt type boot sd1:/vmlinuz.gz root=/dev/sd2 single (filling in the appropriate locations for your kernel and root file system.) This will boot the system with all disks mounted, but instead of running INIT, it will just launch bash. You then just do a passwd command and you have changed your password. Then exit the shell, and the system will reboot. Now, remember your password this time! ;^)