Password Help

Keith Richie disturbed1976 at gmail.com
Tue Apr 15 12:06:42 UTC 2008


On Tue, Apr 15, 2008 at 4:45 AM, Carl Friis-Hansen
<ubuntuuser at carl-fh.com> wrote:
> > Here is a method to try:
>  >
>  > 1.  Boot from the cd then open a terminal window,
>  > 2.  Mount the root slice of your hard drive,
>  > 3.  Remove the password string from /etc/shadow.
>  >
>  > Hope this helps.
>  >
>  > John.
>
> > | It will not let me in with the password and user name I gave it, or I
>  > messed
>  > | up.  If I can not get into Ubuntu I would think I need to dump it all and
>  > | reload.
>  > |
>  > try this.  there are other ways with a live cd, but this is fairly
>  > simple to do, and quick.
>  >
>  > http://ubuntuforums.org/archive/index.php/t-3609.html
>   > - --
>  > Steve Reilly
>  Am I ignorant or should the shadow password string for root not be
>  "root:!:..."?  If this is the case then I would rather delete the
>  password string from the user the o.p. created. In that way everything
>  is works correctly and he can just change his password when he is up and
>  running (chpasswd) or the GUI (users and groups).
>  --
>  Carl Friis-Hansen
>
>
>
>  --
>  ubuntu-users mailing list
>  ubuntu-users at lists.ubuntu.com
>  Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-users
>

Reboot into single user mode.

At command line -

passwd $USER

(Where $USER is your username)

enter new password. Done.

If there's an error like user doesn't exist, then you have the wrong
username. Computers are dumb and can only do what you tell them to do.

Forget your user name?

cd /home
ls

This will display a directory with the user's name --- that's the
username you created.




More information about the ubuntu-users mailing list