[GRLUG] Forgotten password

Patrick Goupell patrick at yoopermail.us
Fri Jan 29 11:21:33 EST 2016



On 01/29/2016 11:16 AM, Patrick Goupell wrote:
> Then get a live linux cd and boot that.
> from a terminal enter command "sudo su" to get root privileges
> now as root enter command "mkdir /work"
> enter command "fdisk -l" to see you partition layout.  I will assume 
> the root partitino is on partition 1 (sda1 or hda1)
> enter commadn "mount -t auto /dev/sda1 (or hda1 depends on the live 
> cd) /work
> enter command "cd /wrok"
> enter command "ls -l"  you should see a linux file system layout
> enter command "cd etc"
>
> with a test editor vi/vim/nano whatever is on the live cd
> enter the command (vim as an example) "vim passwd"
> the first entry is the root account, changte the "root:x:" to 
> "root:*:" this will remove the password on the root account

This may not be right , I haven't done this in a while.
Correct here.  Just remove the x so it looks like "root::"

> also do the same for your user account (scroll down the file) to 
> remove its password
> save the changes
>
> reboot the computer normally.
> You should be able to log into your account without a password
>
> Now create a new password for yourself and root.
>
> On 01/29/2016 10:33 AM, Kelly Vanderwell wrote:
>> i don't know root.
>>
>> On Fri, Jan 29, 2016 at 10:29 AM, Patrick Goupell 
>> <patrick at yoopermail.us <mailto:patrick at yoopermail.us>> wrote:
>>
>>     Do you remember the root password?
>>
>>     If so, reboot the computer
>>     At the boot prompt select teh recovery boot option and type in
>>     'e" to edit the boot line
>>     change the readonly (ro) option to readwrite (rw)
>>     press f10 (I think it is f10) to continue the boot
>>     enter the root password when requested
>>     enter command passwd "username"
>>     enter the desired password
>>     reboot
>>
>>
>>
>>     On 01/26/2016 01:57 AM, Kelly Vanderwell wrote:
>>>     So I forgot/lost the password to my desktop (or it's just not
>>>     accepting it, not sure).  Posted such on Facebook, friends came
>>>     to rescue to tell me to boot into recovery mode, then go to root
>>>     and then type passwd username and then enter new password.
>>>
>>>     Well, I did that, and no avail.  Attached image of screen is
>>>     what I got.  Messaged a friend in Atlanta who offered help, he
>>>     said to type mount -rw -o remount /. Which brought up lots of
>>>     words, no way to read them all....and then he said that it looks
>>>     like root is read-only....
>>>
>>>     And he said if I have local people who can come type and fix,
>>>     that would be great.  It's a desktop, so I can't just bring it
>>>     to makers (well, I could....but I'd be heavy.)
>>>
>>>     Is anyone able to come over (I'm in eastown) at some point to
>>>     figure it out?  I'm on Ubuntu 12.04 on that computer.
>>>
>>>
>>>     -- 
>>>     Sent from my iPhone
>>>
>>>
>>>     _______________________________________________
>>>     grlug mailing list
>>>     grlug at grlug.org <mailto:grlug at grlug.org>
>>>     http://shinobu.grlug.org/cgi-bin/mailman/listinfo/grlug
>>
>>     -- 
>>     Patrick Goupell
>>
>>     Are you free?  Find out athttp://www.sedm.org/
>>     Income taxes?  Find out athttp://www.whatistaxed.com
>>
>>
>>     _______________________________________________
>>     grlug mailing list
>>     grlug at grlug.org <mailto:grlug at grlug.org>
>>     http://shinobu.grlug.org/cgi-bin/mailman/listinfo/grlug
>>
>>
>>
>>
>> _______________________________________________
>> grlug mailing list
>> grlug at grlug.org
>> http://shinobu.grlug.org/cgi-bin/mailman/listinfo/grlug
>
> -- 
> Patrick Goupell
>
> Are you free?  Find out athttp://www.sedm.org/
> Income taxes?  Find out athttp://www.whatistaxed.com
>
>
> _______________________________________________
> grlug mailing list
> grlug at grlug.org
> http://shinobu.grlug.org/cgi-bin/mailman/listinfo/grlug

-- 
Patrick Goupell

Are you free?  Find out at http://www.sedm.org/
Income taxes?  Find out at http://www.whatistaxed.com

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://shinobu.grlug.org/pipermail/grlug/attachments/20160129/90ee2348/attachment-0001.html>


More information about the grlug mailing list