Article View: comp.os.linux.misc
Article #446Re: Forgot my ROOT PASSWORD...
From: ul141
Date: Sat, 15 Apr 2000 00:00
Date: Sat, 15 Apr 2000 00:00
37 lines
2616 bytes
2616 bytes
In article <38F722FE.27927B62@yesic.com>, Lew Pitcher <lpitcher@yesic.com> wrote: > Tux wrote: > > > > Hi there, > > > > Do I have to reinstall Linux if I forgot my root password, or is there > > some way to get back into the system without doing this...??? > > Tux, no. You don't reinstall Linux to fix a bad password; that's > Microsoft Mentality speaking. > > Boot into single user mode (at the lilo prompt, type 'linux single') > which should put you into a text shell as root, without logging in. > Type the passwd command, and change root's password. Enter the > 'telinit 5' or 'telinit 3' command to get to the normal login. > > or > > Boot from your install/rescue disk, log in as root to that (usually a > known passwd), mount your root partition as /mnt, and edit the > /mnt/etc/passwd and/or /mnt/etc/shadow files to remove root's > password. Reboot, and login as root (no password). Enter the passwd > command to change roots password . . . what about if I know my root password, but it is not recognized in run level 1? I'm trying to edit a file that's screwing up run level 3 for me, but run level 1 seems to be a read-only level. I've tried logging in as root from run level 1 but all I get is login incorrect. I can login as an ordinary user, but again all I get is a read-only access environment. I've tried su root from here, but though I can login as root OK (somehow root's password is now recognized I'm still stuck in a read-only level. How on earth do I get write access as root from run level 1? GDB
Technical Details
Message-ID:
<ul141-1504001122010001@pt14b3612.fsh.uvic.ca>Path:
arc1-ca.pugleaf.net!unknown!not-for-mailReferences:
<38F5D0D4.8C9255A0@thezone.net> <38F722FE.27927B62@yesic.com>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 111240,f67da80112dc9b34 X-Google-Attributes: gid111240,public X-Google-Thread: 1103af,f67da80112dc9b34 X-Google-Attributes: gid1103af,public X-Google-Thread: 102983,f67da80112dc9b34 X-Google-Attributes: gid102983,public X-Google-Thread: f5360,f67da80112dc9b34 X-Google-Attributes: gidf5360,public From: ul141@victoria.tc.ca Subject: Re: Forgot my ROOT PASSWORD... Date: 2000/04/15 Message-ID: <ul141-1504001122010001@pt14b3612.fsh.uvic.ca> X-Deja-AN: 611587899 References: <38F5D0D4.8C9255A0@thezone.net> <38F722FE.27927B62@yesic.com> X-Abuse-Info: Otherwise we will be unable to process your complaint properly X-Complaints-To: abuse@GigaNews.Com X-Posting-IP: 142.104.135.62 X-Trace: sv2-hdUIsPrQc0zEpLDDsQmd3a/BwSF3EjGeo51yHJmb4Svm2xh1jfdvW1XOd5d9iO1ZcEPAnpCmecBM6SA!S99Ew2smfQNvh8RELnCBuTGE/8WE24oN Organization: "Islandnet.com" NNTP-Posting-Date: Sat, 15 Apr 2000 13:21:00 CDT Newsgroups: comp.os.linux.misc,nf.comp.linux,linux.redhat.misc,aus.computers.linux