Home » Daily, Linux »

How to Enable and Disable Ubuntu Root Password

Ubuntu is one of the few Linux distributions out there that will not enable the root account. If you want to do something with root permission on the console you have to type sudo before the command.

sudo” means superuser do. “sudo” will prompt for “Password:”. Please specify user password

As you have noticed during the Ubuntu installation there was no question about the root password, as you might have been used to see during other Linux distribution installation process. Because of this your root account is inactive.

If you want to enable root account (which is not recommended) enter the following command.

$sudo passwd root

This will prompt for a new root password and once you confirm it, you can start using the root account to login.

If you want to disable root account in ubuntu you need to lock the root account by using the following command

$sudo passwd -l root

If you want to work on a root console you’d better use the following command

$sudo -s -H

Popularity: 7% [?]



Are you satisfied with this blog?
Why not subscribe our RSS Feed? you will always get the latest post.


1 Comments


  1. 1. Aburifqi Batam says:

    Betul memang hal ini not recommended tapi akan berguna sekali kalau pas kita bener-bener mau ngoprek. Atau pas kita pengin merubah setting dengan GUI bukan melalui terminal.
    Kalau pengin enable root di terminal bisa juga perintahnya “sudo -i” lalu masukkan password user anda.
    Cara lain untuk enable root login dari Xwindow adalah buka “System–>Administration–>Login window–>Security” lalu ubah disitu dengan mencentang “Allow local system administrator login” dan langsung bisa deh logon sebagai root. CMIIW



Leave a Reply



cara make squid driver hp mini driver hp mini 210 driver acer aspire one driver hp mini 210 for windows 7 driver hp 1014 driver hp mini 210 xp download driver hp mini 210 driver vga di HP Mini pfsense squid driver compaq presario v3000 Download driver compaq presario v3000 driver hp mini 210-1000 download driver hp mini 210-1014 acer aspire 4530 aspire one driver free download driver wireless acer aspireone 532 driver lan card hp mini 210 driver notebook HP Mini 210-1000 driver wifi aspire one driver HP MINI 210-1014tu driver card reader compaq v3000 acer aspire 2930 software download for win vista download driver acer aspire one driver vga hp mini 210 hp mini 210-1000 free download driver compaq presario v3000 xp aspire one pro DRIVER driver acer aspire 4530 DRIVER CAMERA V 3000 WINDOWS 7 driver webcam acer aspire 4530 for win 7 driver acer aspire one pro driver hp 210 download free bluetooth device terbaru driver acer 4530 driver aspire one pro www foxonn freedownloud com download driver bluetooth hp 210 download driver sound presario v3000 hp 210 driver bluetooht laptop hp mini xp driver aspire 4530 ca ra menginstall ulang program windows dan driver laptop acer download driver acer aspire one intel atom driver hp mini 210-1014 aspire 4530 driver DONWLOAD hp mini 210 AUDIO free download pci device driver acer 4520 software untuk masuk ke komputer lain download driver compaq presario v3000 for xp