Find the answer to your Linux question:
Results 1 to 7 of 7
Hello, So I've only been using linux for a week now, and I've been messing around in terminal and with a few scripts. Somehow, during it all my password has ...
  1. #1
    Just Joined!
    Join Date
    Jan 2012
    Posts
    28

    [SOLVED] Password help.

    Hello,

    So I've only been using linux for a week now, and I've been messing around in terminal and with a few scripts. Somehow, during it all my password has become, uhh.. it doesn't work.

    Help please,
    Kopkins

  2. #2
    Linux Guru
    Join Date
    May 2011
    Posts
    1,855
    The password for your regular, non-user account, I assume?

    Try resetting it with:

    Code:
    sudo passwd $USER
    Where $USER is your username.

    If you botched root (which is unlikely on Ubuntu systems), then you'll need to reboot into single-user mode (a.k.a runlevel 1) in order to fix it.

  3. #3
    Trusted Penguin jayd512's Avatar
    Join Date
    Feb 2008
    Location
    Kentucky
    Posts
    4,073
    Hello and Welcome!

    If, by chance, it is the root password that needs reset, take a look here for several methods on resetting it.
    Jay

    New users, read this first.
    New Member FAQ
    Registered Linux User #463940
    I do not respond to Private Messages asking for Linux help. Please, keep it on the public boards.

  4. #4
    Just Joined!
    Join Date
    Jan 2012
    Posts
    28
    Quote Originally Posted by atreyu View Post
    The password for your regular, non-user account, I assume?

    Try resetting it with:

    Code:
    sudo passwd $USER
    Where $USER is your username.

    If you botched root (which is unlikely on Ubuntu systems), then you'll need to reboot into single-user mode (a.k.a runlevel 1) in order to fix it.
    Thanks! That did it. It didn't work with sudo, it prompted for the password that I don't have. But with just passwd @USER it let me update my password.

    Kopkins

  5. #5
    Linux Guru
    Join Date
    May 2011
    Posts
    1,855
    erm..something doesn't sound right, there - but hey, who cares, it's working!

  6. #6
    Trusted Penguin jayd512's Avatar
    Join Date
    Feb 2008
    Location
    Kentucky
    Posts
    4,073
    Glad you got it sorted!
    If everything is good to go, let us know.
    We can mark this SOLVED, and it may help others having the same issue.
    Last edited by jayd512; 01-06-2012 at 03:55 AM. Reason: spelling
    Jay

    New users, read this first.
    New Member FAQ
    Registered Linux User #463940
    I do not respond to Private Messages asking for Linux help. Please, keep it on the public boards.

  7. #7
    Just Joined!
    Join Date
    Jan 2012
    Posts
    28
    Yeah, I thought something seemed a bit strange about that, but it's working, so I'm not complaining. Yes this is solved.

    Thanks again.
    Kopkins

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
...