🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: Forgot my ROOT PASSWORD...

#448
From: Johnno
Date: Sun, 16 Apr 2000 00:00
24 lines
2220 bytes
"Don Sacramento" <cyberiasurf@pacific.net.ph> wrote:

> > 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

> I hope this would solve your problem...At the linux LILO prompt
> keyin 'linux single'. This will start your linux on a single user mode,
> you will now get a root shell access. Through this access you can
> gain access to the file /etc/shadow. Edit the file /etc/shadow using
> vi editor. Delete from the second field of the root id (those set of
> characters stands for your encyrpted password).. The field is
> similar to the one below.
>
> root:Ai745$djf:11062:0:999999:7
>
> 1)Delete all the set of characters from the second field ( next to the
> 'root:'). Save then exit the shadow file.
> 2) then type the command 'password' from the bash..
> 3) you will be now asked for a new password.
> 4) key in your password
> 5) you now have the new password for your linux....

Once he has booted into single-user mode, all he needs to do is run "passwd"
(not "password") and type a new root password when prompted.
Technical Details
Message-ID: <nYgK4.266$iV.626598@news0.optus.net.au>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail
References: <38F5D0D4.8C9255A0@thezone.net> <38F96C68.B4473AC3@pacific.net.ph>

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: 1074fd,f67da80112dc9b34
X-Google-Attributes: gid1074fd,public
X-Google-Thread: 102983,f67da80112dc9b34
X-Google-Attributes: gid102983,public
X-Google-Thread: 100c5f,f67da80112dc9b34
X-Google-Attributes: gid100c5f,public
X-Google-Thread: 1103af,f67da80112dc9b34
X-Google-Attributes: gid1103af,public
From: "Johnno" <johnno@nospam.casebook.org>
Subject: Re: Forgot my ROOT PASSWORD...
Date: 2000/04/16
Message-ID: <nYgK4.266$iV.626598@news0.optus.net.au>
X-Deja-AN: 611803091
References: <38F5D0D4.8C9255A0@thezone.net> <38F96C68.B4473AC3@pacific.net.ph>
X-Priority: 3
X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2919.6600
Organization: Preferable to disorganisation
X-MSMail-Priority: Normal
NNTP-Posting-Date: Sun, 16 Apr 2000 20:53:07 EST
Newsgroups: comp.os.linux.misc,alt.os.linux,redhat.general,linux.redhat.misc,aus.computers.linux,alt.linux