Re: Seeking assistance to preserve memories

Mike Kenzie <[email protected]>
Newsgroups gmane.user-groups.linux.ottawa.general
Message-ID <[email protected]>
On Sunday 14 August 2011 11:40:24 Piotr R. Sidorowicz wrote:
> Walt,
> 
> you might want to elaborate on steps 2 and 3. They are cryptic to
> laypeople.

Also many systems now require the password to get into single user mode. 

the instruction here make use of a bootable CD.

http://computersforcommunities.ca/c4c/en/password_reset

But again they probably need some updating for a someone who is not familiar  
with linux.

We had a similar request to the list back in June


> On 11-08-14 11:11 AM, Walt Sullivan wrote:
> > On the system you don't have the password for:
> > 
> > 1. Reboot the system into recovery mode (single user mode).
> > 
> > 2. Remount / read-write.
> > 
> > 3. Edit /etc/shadow, which has 8 colon-separated fields on each line.
> > 
> > 4. Find the entry for the user whose password is lost.
> > 
> > 5. Change the second field to empty, that is. change a line like (sorry
> > about the folding, but it's really all one line):
> > 
> > walt:$6$JBOWINsf
> > $8tG83N1lhOeH11nugz0ZD6CJefsdYKrqd4zIkFEbCd6lxB17OUmTs0gxeqxIlUxDCD6.VhO7
> > MgkGuxqsdbnW90:15197:0:60:10:::
> > 
> > to:
> > 
> > walt::15197:0:60:10:::
> > 
> > 6. Save the file, and let the reboot finish.
> > 
> > 7. Now the password for the user ("walt" in the example above) is empty.
> > Login and use the passwd command to change it.
> > 
-- 
Collector of vintage computers http://www.ncf.ca/~ba600
-- 
OCLUG general discussion list
[email protected]
http://oclug.on.ca/mailman/listinfo/oclug
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.