Results 1 to 6 of 6

Thread: Forgotten Sudo Password

  1. #1
    Join Date
    Aug 2011
    Beans
    15

    Forgotten Sudo Password

    I inhereted my brothers computer and he installed ubuntu on it. He doesn't have a login password but I cant use sudo or install programs through the software center because it asks for a password and he doesn't know it. Is there a way to reset it?

  2. #2
    Join Date
    Mar 2006
    Location
    Williams Lake
    Beans
    Hidden!
    Distro
    Ubuntu Development Release

    Re: Forgotten Sudo Password

    Start in recovery mode, you should be able to select from the grub menu, then once at the menu select drop to root prompt. Once at the prompt type:

    Code:
    password <username>
    Where <username> is the user name you use.

  3. #3
    Join Date
    Feb 2007
    Beans
    185

    Re: Forgotten Sudo Password

    Isn't it 'passwd' ?

  4. #4
    Join Date
    Jun 2011
    Location
    The Shadow Gallery
    Beans
    6,807

    Re: Forgotten Sudo Password

    Quote Originally Posted by cariboo907 View Post
    Start in recovery mode, you should be able to select from the grub menu, then once at the menu select drop to root prompt. Once at the prompt type:

    Code:
    password <username>
    .
    Quote Originally Posted by gsgleason View Post
    Isn't it 'passwd' ?
    yes it is.

    see here for recovery console instructions

    http://www.psychocats.net/ubuntu/resetpassword

    and it is

    passwd <username>
    Peace
    Feel Free to Bitcoin Tip: 135Rp4pwwYTHEJ4u8bxKaDQiC91N9LUoV2

    Backtrack - Giving machine guns to monkeys since 2006
    Kali-Linux - Adding a grenade launcher to the machine guns since 2013

  5. #5
    Join Date
    Mar 2006
    Location
    Williams Lake
    Beans
    Hidden!
    Distro
    Ubuntu Development Release

    Re: Forgotten Sudo Password

    I shouldn't type commands before I've had my first cup of coffee in the morning.

  6. #6
    Join Date
    Jun 2011
    Location
    The Shadow Gallery
    Beans
    6,807

    Re: Forgotten Sudo Password

    Quote Originally Posted by cariboo907 View Post
    I shouldn't type commands before I've had my first cup of coffee in the morning.
    I do it all the time, infact i had a lay in today and havent had mine yet so best stop typing and go grab me some

    Peace
    Feel Free to Bitcoin Tip: 135Rp4pwwYTHEJ4u8bxKaDQiC91N9LUoV2

    Backtrack - Giving machine guns to monkeys since 2006
    Kali-Linux - Adding a grenade launcher to the machine guns since 2013

Tags for this Thread

Bookmarks

Posting Permissions

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