Page 1 of 2 12 LastLast
Results 1 to 10 of 11

Thread: recovering admin's password

  1. #1
    Join Date
    Aug 2006
    Location
    London, UK
    Beans
    Hidden!

    recovering admin's password

    The person who sold me an old Dell GX620 had put Ubuntu 12.10, but ommitted to give me the password.

    I have set up a new password using the method at http://naveenubuntu.blogspot.co.uk/2...untu-1204.html

    which in effect explains how to change the password by the root in the recovery mode.

    It all went well and I was able to set up a new password for the main admin user, and yet when I get into the desktop and try to login with the new password it is not recognised.

    Does anyone know what I should do next?

  2. #2
    Join Date
    Aug 2013
    Location
    Colorado, US
    Beans
    220
    Distro
    Ubuntu Mate 18.04 Bionic Beaver

    Re: recovering admin's password

    The issue I see with the guide you posted is people are calling him out for syntax error's and claiming it does not work. Here is the official documentation and you should always try to use the official Ubuntu Documentation where possible.
    https://help.ubuntu.com/community/LostPassword

    EDIT: I just noticed you said it has 12.10 installed. You are not using a supported version of Ubuntu right now anyway so I would consider downloading and installing 14.04 as this is a LTS and will give you five years of support and then you can set a new password in the installer.
    Last edited by grier-devon; May 4th, 2014 at 04:06 PM.
    We all know Linux is great... it does infinite loops in 5 seconds.
    - Linus Torvald

  3. #3
    Join Date
    Aug 2006
    Location
    London, UK
    Beans
    Hidden!

    Re: recovering admin's password

    I have looked at your referal and it is what I did. Did you notice that I successfully changed the password at the root but it is not recognised when I login! By successful I mean that it reported that I had successfully changed the password.

  4. #4
    Join Date
    Aug 2013
    Location
    Colorado, US
    Beans
    220
    Distro
    Ubuntu Mate 18.04 Bionic Beaver

    Re: recovering admin's password

    Here is a way to do it through a live cd
    http://www.howtogeek.com/howto/linux...m-the-live-cd/

    Though if you have never had access to the machine which means non of your data is on there then it is silly to not do a fresh install with a supported version of Ubuntu as 12.10 will have security flaws not being fixed, old software and less hardware support out of the box.
    We all know Linux is great... it does infinite loops in 5 seconds.
    - Linus Torvald

  5. #5
    Join Date
    Apr 2011
    Location
    Mystletainn Kick!
    Beans
    13,616
    Distro
    Ubuntu

    Re: recovering admin's password

    Since you've enabled the root password, which is normally a no-no here, try this.

    when you boot into Ubuntu, as you get to the login screen, press ctrl + alt + F1(or F2)
    You will get tty1,or tty2.
    login in as root, with the newly made root password.
    when logged in run
    Code:
    passwd username
    changing username here for you normal username.

    now enter
    Code:
    reboot
    When you reboot the new password for your user should work to log you in.

    After to log in open a terminal and run this
    Code:
    sudo passwd -dl root
    This will re-disable the root password.
    Which is the preferable state.

    Good luck.
    Last edited by deadflowr; May 4th, 2014 at 05:06 PM. Reason: wrong password instruction
    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
    Aug 2006
    Location
    London, UK
    Beans
    Hidden!

    Re: recovering admin's password

    Deadflowr: Thank you I have now been able to login. For me the ilogical part was that I was changing username's password at root level, but a login I could not use the same password. I did not enter "root" when I changed the password for username.

  7. #7
    Join Date
    Apr 2011
    Location
    Mystletainn Kick!
    Beans
    13,616
    Distro
    Ubuntu

    Re: recovering admin's password

    Quote Originally Posted by Robbyx View Post
    Deadflowr: Thank you I have now been able to login. For me the ilogical part was that I was changing username's password at root level, but a login I could not use the same password. I did not enter "root" when I changed the password for username.
    Did you simply use passwd, without a username?
    I think it defaults to root.
    Like su, where simply su moves you into root, su username will move you into the other username.
    I'm guessing, though.
    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
    .

  8. #8
    Join Date
    Jan 2006
    Location
    Not heaven... Iowa
    Beans
    Hidden!
    Distro
    Ubuntu

    Re: recovering admin's password

    Quote Originally Posted by deadflowr View Post
    Did you simply use passwd, without a username?
    I think it defaults to root.
    Like su, where simply su moves you into root, su username will move you into the other username.
    I'm guessing, though.
    As mentioned in the Wiki:
    This procedure gives you a full root shell! You can damage your system if you are not careful!
    So, as root, if you didn't specify a username, the system changed the root password.
    Linux User #415691 Ubuntu User #8629
    Iowa Team (LoCo): [Wiki] [Launchpad]
    IRC channel: #ubuntu-us-ia on irc.freenode.net

  9. #9
    Join Date
    Jul 2008
    Beans
    2,732

    Re: recovering admin's password

    Any computer I would of bought from another person would have been wiped and installed with the OS I wanted afterwards. I hope you trusted the person you bought it from.

  10. #10
    Join Date
    Jan 2008
    Location
    Manchester UK
    Beans
    13,573
    Distro
    Ubuntu

    Re: recovering admin's password

    What you need to do is download the latest ubuntu, install it, and set it up for yourself.

    http://www.ubuntu.com/download/desktop/

Page 1 of 2 12 LastLast

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
  •