Results 1 to 4 of 4

Thread: Root password problem

  1. #1
    Join Date
    Sep 2013
    Beans
    1

    Root password problem

    Hey all,
    I installed ubuntu and set a password, after some use I decided that I don't want to type password every log in to my comp so I desabled the password completely
    now when I try to do something that require root premissions and type the password I setup ubuntu with it doesn't work..
    I tried the common way to reset pass, http://www.psychocats.net/ubuntu/resetpassword
    press shift while rebooting the comp and in GRUB choose linux in rescue/recovery mode, but I doesn't have the option

    any option other then re-install ubuntu?

    thx for help

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

    Re: Root password problem

    Welcome to the Ubuntu Forums

    What option is there and what option is not there?

    Can you come to the grub menu with the left shift button (you might need to press it at once or even slightly before you boot. Try with cold boot.

    Have you edited the grub menus? If not, there should be an entry Advanced options. Select it and press Enter. Then you should arrive at a second grub menu, where you can select recovery mode and press Enter.

  3. #3
    Join Date
    Jun 2010
    Location
    London, England
    Beans
    8,082
    Distro
    Ubuntu Development Release

    Re: Root password problem

    First of all for the sake of others that might want to do this, there is a simple way to to achieve this. Open System Settings>User Accounts and there is a switch for switching automatic login on and off.

    Second at the Grub menu select Recovery mode. At the Recovery menu select Network. That will establish a connection to the router and give an internet connection. It will also put the file system in Read/Write mode which is necessary for editing system files. When this script has done its job it will return to the Recovery menu. Now select Root and you can do what you need to do to reset the password. You will be at a command prompt. When you are finished type Exit to return to the Recovery menu and now select Resume to load to a desktop.

    Regards.
    It is a machine. It is more stupid than we are. It will not stop us from doing stupid things.
    Ubuntu user #33,200. Linux user #530,530


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

    Re: Root password problem

    The timing to get the grub menu is key.
    Alternatively, you can use a livecd to run recovery options like resetting a password
    https://help.ubuntu.com/community/LiveCdRecovery

    But +1 to running networking first from recovery mode.(when using recovery mode)
    It might take a while, and might seem like it hangs, but it does return you to the recovery screen window with read/write access rather then read-only.
    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
    .

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
  •