14 Comments to “Enable and Disable Ubuntu Root Password”

  1. koenig says:

    One of the first things to do, after an installation! ;)

    [Reply]

  2. Michael Gross says:

    BTW, thanks for a nice post. It was just the information I needed.

    Just wanted to alert you to a missing step in your HOWTO. After entering the passwd command as sudo, the system prompts you with “Password:“. There is no mention of this and it may be confusing to a new user that has never issued a command as sudo.

    Thanks again for all the wok that goes into keeping this site going. It’s a nice resource.

    –mg

    [Reply]

  3. julie says:

    Hello,

    This is a good guide to enable and disable the root password.

    If you are using Unbuntu, then by default there is no password set for the root user. In order to log onto root, you have to initially create your own password. this password will be the password that you set for the first user that you created while installing the OS.
    To manually set the password type “sudo passwd” into the command shell and then confirm your password.

    I hope that it will help.

    [Reply]

  4. Jack says:

    It looks good. I will reply if this works.

    [Reply]

  5. emanuel says:

    Please take a look in this : https://help.ubuntu.com/community/RootSudo

    the root account password is not missing, but ubuntu made it inactive to increase their security. so even the first user wont be able to access it unless he/she did the aforementioned how-to.

    anyway there is always sudo/gksudo command to access root privileges temporarily.

    regards.

    [Reply]

  6. Nimal says:

    hii,if you want enabled first you can use
    sudo -s
    now you in root console.
    then you can type $sudo passwd root
    after than you can reset root password..

    Thanks

    [Reply]

  7. Ray says:

    Hi, I tried the above, but K says logon with root is prohibited. With K 8.04 I could open files in the root folder (eg. WWW, so I could add files to Apache), by clicking on the folder and choosing, “open as.” K-4 does not give this option, and as a result I can’t add new files to the folders in VAR/WWW/etc.

    Any suggestions as to how to get around this would be appreciated.

    Thanks, Ray

    [Reply]

  8. M. Canuel says:

    I have always run Windows as admin with no pw or login. From Win98 to Win 7. Never had a virus I didn’t want. I want this ability in Ubuntu 9.10. No login no pw and always admin (root if needs be). This is a single user machine . . . I don’t care if everyone says yea or nay I just want it this way. How do I do it? Ubuntu is almost there butt when I went to add some skins and it wouldn’t let me paste into the folder I lost it. No passwords, no hidden folders no pissing around. How do I do it?

    [Reply]

  9. freislyn says:

    this happening to me

    freislyn@freislyn-laptop:~$ $sudo passwd root
    passwd: You may not view or modify password information for root.
    freislyn@freislyn-laptop:~$ $sudo passwd -l root
    passwd: Permission denied.
    freislyn@freislyn-laptop:~$ $sudo -i
    -i: command not found
    i need help

    [Reply]

  10. David Perry says:

    You dont type the $sudo… you only type sudo

    $ is the cursor kinda like
    > in dos

    $ for ubuntu terminal
    > Dos :)

    Im still new to this so if Im wrong and you CAN type $sudo then I stand corrected :)

    [Reply]

  11. without root access much of Version 8 seems not to be working; indeed all of the network features with windows and USB drives fail with security messages. This “control” is , at it’s heart, childish (in it plays parent). We are adults here, yes ? Perhaps not; so much for Ubuntu for now. I need to get work done.

    [Reply]

  12. Gebrehiwet says:

    it ignore me??
    what shall i do??

    [Reply]

  13. PC Maint says:

    Start nautilus as root and you can move files around and change their permissions easily.

    Alt-F2
    gksu nautilus
    enter your password used at install time

    You now have nautilus as root.

    [Reply]

  14. dinesh says:

    Hello Sir,

    This is a good guide to enable and disable the root password.

    If you are using Unbuntu, then by default there is no password set for the root user. In order to log onto root, you have to initially create your own password. this password will be the password that you set for the first user that you created while installing the OS.
    To manually set the password type “sudo passwd” into the command shell and then confirm your password.

    I hope that it will help .

    [Reply]

Leave a Reply