🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: Forgot my ROOT PASSWORD...

#447
From: Don Sacramento
Date: Sun, 16 Apr 2000 00:00
27 lines
2115 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...???
>
> Thanks..

Tux,

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....
Technical Details
Message-ID: <38F96C68.B4473AC3@pacific.net.ph>
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: 1103af,f67da80112dc9b34
X-Google-Attributes: gid1103af,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
From: Don Sacramento <cyberiasurf@pacific.net.ph>
Subject: Re: Forgot my ROOT PASSWORD...
Date: 2000/04/16
Message-ID: <38F96C68.B4473AC3@pacific.net.ph>
X-Deja-AN: 611765164
Content-Transfer-Encoding: 7bit
References: <38F5D0D4.8C9255A0@thezone.net>
X-Accept-Language: en
Content-Type: text/plain; charset=us-ascii
Organization: Subscriber of Pacific Internet 
Mime-Version: 1.0
Reply-To: cyberiasurf@pacific.net.ph
Newsgroups: comp.os.linux.misc,alt.os.linux,nf.comp.linux,redhat.general,linux.redhat.misc,aus.computers.linux,alt.linux