On 04/23/2014 04:05 PM, John Jason Jordan wrote:

<clip>

> Once logged in I opened /etc/shadow as root (using nano) and added * in
> front of the JJJ line. Then I rebooted. Sadly, I should not have done
> that, because now I can't log in, even at the command line. Whatever I
> enter for the password (including leaving it blank) results in
> "incorrect password" error. I get the same error message if I try to
> log in as root.

If you can get logged in as root again, you can try one of two things:

1) exec 'passwd jjj' to reset the hash
2) remove the '*' in /etc/shadow and then you will have no password

dafr

_______________________________________________
PLUG mailing list
[email protected]
http://lists.pdxlinux.org/mailman/listinfo/plug

Reply via email to