Results 1 to 8 of 8

Thread: Reset password

  1. #1
    Join Date
    Jan 2013
    Beans
    47

    Reset password

    Hi,
    I added an account to Ubuntu 12.1. It did not ask me for password. Then, it asked for password when I logged in for the first time.

    Thus, I need to reset the password. This link gives a method to reset account password:

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

    First, I go to the recovery mode of Ubuntu.
    Unfortunately, when I enter: "mount -o rw, remount /", it echoes:

    mount: special device remount does not exist

    So, what is the problem to reset the password.

    Thanks,

  2. #2
    Join Date
    Jun 2006
    Location
    UK
    Beans
    Hidden!
    Distro
    Ubuntu 14.04 Trusty Tahr

    Re: Reset password

    Quote Originally Posted by ruwan2 View Post
    Unfortunately, when I enter: "mount -o rw, remount /", it echoes:

    mount: special device remount does not exist
    There should be no space between the comma and remount. This is the command you need:

    Code:
    mount -o rw,remount /
    Quote Originally Posted by ruwan2 View Post
    I added an account to Ubuntu 12.1. It did not ask me for password.
    Please elaborate. How did you add the account, or do you mean that you made a fresh installation?

    Please do not PM me about your forum account unless you have been asked to. The correct place to contact an admin about your account is here.

  3. #3
    Join Date
    Nov 2011
    Location
    /dev/root
    Beans
    Hidden!

    Re: Reset password

    Quote Originally Posted by ruwan2 View Post
    Hi,
    I added an account to Ubuntu 12.1. It did not ask me for password. Then, it asked for password when I logged in for the first time.

    Thus, I need to reset the password. This link gives a method to reset account password:

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

    First, I go to the recovery mode of Ubuntu.
    Unfortunately, when I enter: "mount -o rw, remount /", it echoes:

    mount: special device remount does not exist

    So, what is the problem to reset the password.

    Thanks,
    There should be no space between ',' and 'remount'.

    Otherwise, if this is a new account and you have an old one that works, log into the working one and use

    Code:
    users-admin
    or according to psychocats (but directly)
    Code:
    sudo passwd 'username'
    Last edited by sudodus; January 10th, 2013 at 01:49 PM. Reason: ninja'd by coffeecat

  4. #4
    Join Date
    Oct 2005
    Beans
    53

    Re: Reset password

    hi, i have the same problem.
    i have thinkpad t61, with ubuntu 13.04.
    i forgot my admint password, and i am trying to reset my password.
    when i login to root prompt, and try to remount the file system through mount -o rw, remount / i receive this error: special device remount does not exist.
    thanks

  5. #5
    Join Date
    Mar 2008
    Location
    Missouri, USA
    Beans
    93
    Distro
    Ubuntu 13.04 Raring Ringtail

    Smile Re: Reset password

    Try "sudo mount -t auto -o rw,remount /dev/sdXX / " where sdXX is the drive and partition of your root volume.
    If you type "mount" by itself then hopefully root i.e. '/' will show up in the list of mounts.
    For example, my root volume is on my second hard drive at partition 5 so I would use sdb5.

    Edit: Ah, no sudo needed in recovery mode.
    Last edited by sum1nil; June 10th, 2013 at 12:02 PM. Reason: No sudo needed
    Ubuntu 13.04 (Raring Ringtail)

  6. #6
    Join Date
    Apr 2012
    Beans
    5,337

    Re: Reset password

    Quote Originally Posted by tp21 View Post
    when i login to root prompt, and try to remount the file system through mount -o rw, remount / i receive this error: special device remount does not exist.
    thanks
    It looks like you are making the same mistake as the earlier posters - you need to remove the space between rw, and remount i.e.

    Code:
    mount -o rw,remount /
    Otherwise the 'mount' command sees 'remount' as the target device (instead of / ) rather than as a second option

  7. #7
    Join Date
    Oct 2005
    Beans
    53

    Re: Reset password

    thanks a lot for your help.
    i tried without space after the comma, with no luck.
    i didn't try sum1nil method.
    anyways, i managed at the end to log in after i found my admin password written somewhere.
    i just think that the reason why the recovery mode didn't work might be that the hard desk is encrypted.
    best

  8. #8
    Join Date
    Nov 2011
    Location
    /dev/root
    Beans
    Hidden!

    Re: Reset password

    Quote Originally Posted by tp21 View Post
    thanks a lot for your help.
    i tried without space after the comma, with no luck.
    i didn't try sum1nil method.
    anyways, i managed at the end to log in after i found my admin password written somewhere.
    i just think that the reason why the recovery mode didn't work might be that the hard desk is encrypted.
    best
    If the methods to reset passwords would work with encrypted home, the encryption would be useless. So you are right, it does not work with encryption.

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
  •