Results 1 to 6 of 6

Thread: Delete password?

  1. #1
    Join Date
    Jan 2013
    Beans
    2

    Delete password?

    what happens if you delete your password and then cannot change or do anything because you no longer have an original password? i'm on ububtu 12.10.

  2. #2
    Join Date
    Jul 2007
    Location
    Magic City of the Plains
    Beans
    Hidden!
    Distro
    Xubuntu 14.10 Utopic Unicorn

    Re: Delete password?

    Post moved to its own thread. In the future please start your own thread rather than posting in someone else's.

  3. #3
    Join Date
    Aug 2012
    Beans
    Hidden!

    Re: Delete password?

    Quote Originally Posted by bobmunro View Post
    what happens if you delete your password and then cannot change or do anything because you no longer have an original password? i'm on ububtu 12.10.
    If Ubuntu is the only installation and you don't normally get a grub screen, hold down the shift key during boot up. If you have more than one OS installed grub will show and all you have to do is select the recovery option for your Ubuntu kernel. You don't need a password here, you get sent to a menu system.

    In 12.04 console, to make the root drive writable I have had to run a fsck check on the drive (one of the menu options), the drive gets changed to writable when you do, this is necessary for the next step to fix the password. Not sure about 12.10 I am assuming it hasn't changed.

    After the check completes return to the menu and select "Drop to root terminal", or worded very similar, the root terminal is what you need. In the root terminal enter the following commands,

    Code:
    ls /home
    This is only to check the drive is mounted, you will see user home folders if it is. Not entirely necessary, I use it as a precaution for if the drive is not mounted the next command will fail.
    Code:
    passwd <insert-your-username>
    You will be asked to enter a Unix password and confirm it by entering it again. If the 2 match OK your password will now be set on your user account. Cheers.

    Edit: type "exit" then press "Enter" to get back to the menu from the root terminal. IIRC the top option will let you then continue a normal boot. Or type "reboot" and press "Enter" (don't include any quotation marks with any of the commands in this edit).

    Edit 2: I just noticed your bean count and join date, welcome to the forums
    Last edited by coldcritter64; January 23rd, 2013 at 05:52 PM. Reason: more info

  4. #4
    Join Date
    Apr 2008
    Location
    LOCATION=/dev/random
    Beans
    5,767
    Distro
    Ubuntu Development Release

    Re: Delete password?

    In recent versions of Ubuntu the root partition is mounted as read-only in recovery mode, so you will have to remount it with write permissions before you can change your password.

    For a full walkthrough on how to reset your password with screenshots check out this page...
    http://www.psychocats.net/ubuntu/resetpassword

    While you're there you should check out the rest of the site, it's an invaluable resource for users new to Ubuntu.
    Cheesemill

  5. #5
    Join Date
    Apr 2011
    Location
    Mystletainn Kick!
    Beans
    4,730
    Distro
    Ubuntu

    Re: Delete password?

    Quote Originally Posted by bobmunro View Post
    what happens if you delete your password and then cannot change or do anything because you no longer have an original password? i'm on ububtu 12.10.
    Well then like cheesemill said, you'll need to follow the instructions in the link provided.
    However, if by chance before deleting the password, you had set the user to autologin and disabled the lock setting in system settings, you could run Ubuntu without ever needing a password.
    Though eventually, the bloat of updates, and the inability to change system functions, such as adding new programs, would cause headaches.
    Splat Double Splat Triple Splat
    Earn Your Keep
    Don't mind me, I'm only passing through.
    Once in a blue moon, I'm actually helpful
    .

  6. #6
    Join Date
    Jan 2013
    Beans
    2

    Re: Delete password?

    still got problems. after following the instructions and getting a "password successfully updated" i get a sign saying "authentification token manipulation error" "password unchanged"

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
  •