🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.os.linux.misc
Article #443

Re: Forgot my ROOT PASSWORD...

#443
From: Lew Pitcher
Date: Sat, 15 Apr 2000 00:00
27 lines
2148 bytes
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

-- 
Lew Pitcher

Master Codewright and JOAT-in-training
Technical Details
Message-ID: <38F722FE.27927B62@yesic.com>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail
References: <38F5D0D4.8C9255A0@thezone.net>

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: faa64,f67da80112dc9b34
X-Google-Attributes: gidfaa64,public
X-Google-Thread: 100c5f,f67da80112dc9b34
X-Google-Attributes: gid100c5f,public
X-Google-Thread: 1074fd,f67da80112dc9b34
X-Google-Attributes: gid1074fd,public
X-Google-Thread: 102983,f67da80112dc9b34
X-Google-Attributes: gid102983,public
X-Google-Thread: f5360,f67da80112dc9b34
X-Google-Attributes: gidf5360,public
X-Google-Thread: 1103af,f67da80112dc9b34
X-Google-Attributes: gid1103af,public
From: Lew Pitcher <lpitcher@yesic.com>
Subject: Re: Forgot my ROOT PASSWORD...
Date: 2000/04/15
Message-ID: <38F722FE.27927B62@yesic.com>
X-Deja-AN: 611420473
Content-Transfer-Encoding: 7bit
References: <38F5D0D4.8C9255A0@thezone.net>
X-Accept-Language: en
Content-Type: text/plain; charset=iso-8859-15
X-Trace: news2.randori.com 955780205 216.13.110.125 (Fri, 14 Apr 2000 23:30:05 PDT)
Organization: The Pitcher Digital Freehold
MIME-Version: 1.0
NNTP-Posting-Date: Fri, 14 Apr 2000 23:30:05 PDT
Newsgroups: comp.os.linux.misc,alt.os.linux,nf.comp.linux,redhat.general,linux.redhat.misc,aus.computers.linux,alt.linux