🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: Forgot my ROOT PASSWORD...

#449
From: Robin
Date: Sun, 16 Apr 2000 00:00
31 lines
2529 bytes
On Sun, 16 Apr 2000 10:53:07 GMT, "Johnno"
<johnno@nospam.casebook.org> wrote:

>"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.
>
You don't need the old password ?

robin
Technical Details
Message-ID: <38feca52.2583655@loomi.telstra.net>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail
References: <38F5D0D4.8C9255A0@thezone.net> <38F96C68.B4473AC3@pacific.net.ph> <nYgK4.266$iV.626598@news0.optus.net.au>

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: 1103af,f67da80112dc9b34
X-Google-Attributes: gid1103af,public
X-Google-Thread: 100c5f,f67da80112dc9b34
X-Google-Attributes: gid100c5f,public
From: news3@coventry.dhs.org (Robin)
Subject: Re: Forgot my ROOT PASSWORD...
Date: 2000/04/16
Message-ID: <38feca52.2583655@loomi.telstra.net>
X-Deja-AN: 611845572
Content-Transfer-Encoding: 7bit
References: <38F5D0D4.8C9255A0@thezone.net> <38F96C68.B4473AC3@pacific.net.ph> <nYgK4.266$iV.626598@news0.optus.net.au>
Content-Type: text/plain; charset=us-ascii
X-Complaints-To: abuse@telstra.net
X-Trace: nsw.nnrp.telstra.net 955894325 203.46.39.115 (Mon, 17 Apr 2000 00:12:05 EST)
Organization: Customer of Telstra Big Pond Direct
MIME-Version: 1.0
NNTP-Posting-Date: Mon, 17 Apr 2000 00:12:05 EST
Newsgroups: comp.os.linux.misc,alt.os.linux,redhat.general,linux.redhat.misc,aus.computers.linux,alt.linux