Password
Pierre Frenkiel
pierre.frenkiel at laposte.net
Fri Oct 3 15:21:53 UTC 2008
On Fri, 3 Oct 2008, Nils Kassube wrote:
> What is a "password set on single user mode"? Can you explain what you are
> talking about?
it's in the link you gave in your previous post:
single mode may give you:
"Give root password for maintenance"
>> The easiest way to deal with this, IMO, is boot off a live CD and
>> remove the entries from /etc/passwd and /ect/shadow for root. You'll
>> then have access.
>
> Don't do that because then you don't have a root account any longer. That
> is definitely NOT what you want. Furthermore it doesn't give you access
> to your user account.
I didn't read carefully: he said "remove the entries for root"
but of course, what you must do is remove the password entry for root (field 2)
in /etc/passwd.
I checked that it works in all cases.
Easy to try: do it, and open a console (<CTRL-ALT-F1>)
This can also be done after reboot. and you type then "passwd loginname"
--
Pierre Frenkiel
More information about the ubuntu-users
mailing list