Language Selection

English French German Italian Portuguese Spanish

How to Enable and Disable Ubuntu Root Password

Filed under
HowTos

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 accout is inactive.

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

Full Story.

re: ubuntu

the article wrote:

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

Beware the danger of root. According to the Ubuntu fan club, root IS the root of all evil. Therefore it's truly amazing that all those Unix guru's (you know, the white beard crowd) has survived (nay prospered) over the last 30 years while playing with fire.

Maybe if the Ubuntu bunch stopped treating their users like blathering idiots, they'd gain some street cred in the Linux community (who have also survived the perils of that oh so tricky root account).

re: ubuntu & root

I know what you mean, that statement kinda gave me pause too. I can't believe that's becoming the new sage advice. I remember in our day it was, "don't login as root, su to root." Big Grin Then there was the big conflict of su vs. su -. Now new users are being advised not to use it at all?

Oh yeah cuz letting just any tom, dick, and harry that walks up (or hacks in) to your computer complete any administrative task by issuing sudo before the command... yeah, that's safer.

On a serious note, what can't you do using sudo? why is it being advised over su?

Remember when sudo was used very sparingly and with great consideration?

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.

More in Tux Machines

Samsung to Launch Tizen based Smartphone in India in November 2014

It looks like a Tizen Smartphone launch in India is on the cards, and the launch date is November 2014 for our Linux based friend. Samsung believe that they can use content to differentiate themselves from the competition, enabling them to maintain their lead in the Indian Smartphone market. We are not expecting the launch of the Samsung Z at this point, but more likely the budget Tizen Samsung SM-Z130E or SM-Z130H. Read more

NVIDIA 343.22 Linux Driver Brings Support for GTX 970 and GTX 980

NVIDIA has released a new Linux driver for its products and the developers have added support for the latest GPUs that were just announced. Read more

Linus Torvalds and others on Linux's systemd

If you're not a Linux or Unix developer, you've never heard of systemd, the new Linux-specific system and service manager. In Linux developer circles, however, nothing else ticks off many programmers more than this replacement for the Unix and Linux's traditional sysvinit daemon... Read more

Samsung launches the Industry’s first 28-Megapixel APS-C CMOS Image Sensor – S5KVB2

Samsung, with the launch of the Tizen Samsung NX1 Smart Camera, has introduced a new 28 megapixel (MP) APS-C CMOS image sensor for digital cameras, which is said to offer superior light absorption thanks to the back-side illuminated (BSI) pixel technology and 65-nanometer (nm) low-power copper process. Read more