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: diahedrial Subject: Re: Forgot my password - Red Hat on Alpha Date: 1998/11/17 Message-ID: <3651A1FF.A04103B8@hotmail.com>#1/1 X-Deja-AN: 412865788 Content-Transfer-Encoding: 7bit References: <72i6n8$qkn$1@nnrp1.dejanews.com> <364CB9D8.47836EC0@psc.edu> To: Jacob Gladish Content-Type: text/plain; charset=us-ascii X-Complaints-To: newsabuse@supernews.com X-Trace: 911330623 SLS4T.EBE3044CCCAC usenet78.supernews.com Organization: Posted via Supernews, http://www.supernews.com - Discussions start here! Mime-Version: 1.0 Newsgroups: comp.os.linux.alpha Been there, UDB with RedHat 4.2. This is what I did: Boot the install, (boot and root disks), tell the install that it is an upgrade install and follow it till it detects the harddrive partitions. At that point, after it had detected the root partition, I did an "Alt-F2" to get to a virtual terminal. If memory serves me, the root ("/") was mounted under /tmp. "cd" to "/tmp/etc" type "../bin/vi ./passwd" and delete the password field for root. Save the changes, the type "sync" a few times so the change is written to disk. Then type "init 0" to reboot. This work for me, hope it helps. -diahedrial. Jacob Gladish wrote: > > ljubomirb@my-dejanews.com wrote: > > > > 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. > > > > Any ideas? Would a slackware root disk work? > > > > I would imagine all you have to do is boot it with any linux kernel and > mount the partition where your /etc/passwd is then delete the password > field for root.