Results 1 to 7 of 7

Thread: No Admin Account

  1. #1
    Join Date
    Jan 2013
    Beans
    1

    No Admin Account

    Well, I just downloaded Ubuntu via a Wubi installer onto my Windows Vista system. The only issue is, I can't do much of anything. When I try to do things like connect to the Internet, it asks for a root password. Issue: there is no root password. The only account has standard permissions; there is no administrator account. I can't run su or sudo, obviously. I obviously need to create an administrator account. Is there some command I can run in the grub menu or terminal that would give the account I use admin permissions? I've tried every variation of a password I would use and tons of usual misspellings, but they haven't worked. The password for the account I use works. How can I set it up so the account I use has admin permissions? I would appreciate any help.

  2. #2
    Join Date
    Apr 2006
    Location
    California
    Beans
    28
    Distro
    Ubuntu 12.10 Quantal Quetzal

    Re: No Admin Account

    To set up your root pw, the terminal command is

    sudo passwd

    Enter your sudo pw to get the temporary privledges and then enter your new *NIX pw twice as prompted.

    You said sudo does not work, and that there are no other accounts on the system? A clean install should let you use sudo *** and then prompt you for the pw that you logged into your regular account with. If that does not work, I'd highly recommend re-installing Ubuntu, as you won't get far without sudo.
    Please & Thank You

  3. #3
    Join Date
    Sep 2009
    Beans
    54

    Re: No Admin Account

    Also, the password requested by sudo is your user password. For example, in my computer, my user name is joe, so when I do sudo, I enter the same password I enter when I log in as joe.

    In ubuntu, the administrator or root account is locked. There are, however, users who are allowed to temporarily impersonate the administrator or root account. The users who have permission to do this do it using the sudo command. Since sudo is so sensitive, when you use it, you have to prove that you are indeed the intended user (in my case joe) and this is done by providing your password. Hope that was not too convoluted. For a better explanation, check out:

    https://help.ubuntu.com/community/RootSudo

  4. #4
    Join Date
    Oct 2009
    Beans
    Hidden!
    Distro
    Ubuntu 12.04 Precise Pangolin

    Re: No Admin Account

    Quote Originally Posted by mighty duck View Post
    Well, I just downloaded Ubuntu via a Wubi installer onto my Windows Vista system. The only issue is, I can't do much of anything. When I try to do things like connect to the Internet, it asks for a root password. Issue: there is no root password. The only account has standard permissions; there is no administrator account. I can't run su or sudo, obviously. I obviously need to create an administrator account. Is there some command I can run in the grub menu or terminal that would give the account I use admin permissions? I've tried every variation of a password I would use and tons of usual misspellings, but they haven't worked. The password for the account I use works. How can I set it up so the account I use has admin permissions? I would appreciate any help.
    It asks for the password of the user who installed Ubuntu. The first user account has sudo privileges.

    Quote Originally Posted by helpee View Post
    To set up your root pw, the terminal command is

    sudo passwd

    Enter your sudo pw to get the temporary privledges and then enter your new *NIX pw twice as prompted.

    You said sudo does not work, and that there are no other accounts on the system? A clean install should let you use sudo *** and then prompt you for the pw that you logged into your regular account with. If that does not work, I'd highly recommend re-installing Ubuntu, as you won't get far without sudo.
    There is no need to set a root password when sudo works fine.
    Come to #ubuntuforums! We have cookies! | Basic Ubuntu Security Guide

    Tomorrow's an illusion and yesterday's a dream, today is a solution...

  5. #5
    Join Date
    Apr 2009
    Beans
    11

    Re: No Admin Account

    If I missed something above, I apologize.

    What to do if, say, one of your kids, or someone else you know and love, makes a new admin account, changes current admin account to standard account but *doesn't create a password* for the new admin account?

    How can one go about either creating another admin account *or* setting a password for the only existing admin account that is currently login disabled?

    Grrrrr!

  6. #6
    Join Date
    Feb 2011
    Beans
    150
    Distro
    Ubuntu 12.04 Precise Pangolin

    Question Re: No Admin Account

    Okayy switch off the computer when switching on right after computer first screen disappears hold Shift and choose Ubuntu recovery mode press enter on it and there will be a box and choose Root command prompt there type
    Code:
    mount -o rw,remount /
    after that type either
    Code:
    passwd (username)
    to change the password or to add new user -
    Code:
    adduser (username)
    there it will ask for pass name etc you can ignore something by pressing enter and then when you finish creating new account type
    Code:
    passwd root
    so that won't happen again after that either
    Code:
    exit
    and there press resume orjust type
    Code:
    reboot
    Last edited by linuxsyst; January 26th, 2013 at 11:39 PM.
    Good Luck!
    Welcome

  7. #7
    Join Date
    Apr 2009
    Beans
    11

    Re: No Admin Account

    Works like a charm.

    Found a similar one at psychocats just after posting here.

    Thanks so much!

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
  •