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

HPE Introduces Linux Server for Data Analytics and Real-Time Computing

Hewlett Packard Enterprise (HPE) has rolled out a new Linux-based server that it says will help enterprises manage high-performance, large-volume data analytics and real-time processing workloads. The platform, called the HPE Integrity MC990 X Server, was announced Tuesday. The company says it was developed in response to growing demand for more efficient and scalable computing power for the datacenter. Read more

Wine Staging 1.9.3 Adds Compatibility Fixes for a Bunch of Older Windows Games

We reported at the end of last week that the Wine developers were working hard on the next major update to the open-source software that lets Linux users install and run all sorts of Windows applications and games. Read more Also: Wine-Staging 1.9.3 Brings Improvements For Old Games, Even 16-Bit Apps

Canonical Updates the All-Snap Snappy Ubuntu Images to Remove Misplaced SSH Key

We reported last week that Canonical, through Michael Vogt, informed all users of the Snappy Ubuntu Core operating system for embedded and IoT (Internet of Things) devices about the general availability of new all-snap images. Read more

Linux-ready dev board beats BeagleBoard-X15 to the AM5728

Elesar’s “Titanium” is a feature-rich board based on TI’s AM5728 SoC, featuring dual Cortex-A15, dual DSP, and dual Cortex-M4 cores, plus a dual-core GPU. It’s not too often that a workalike board ships before the original, but that appears to be the case for UK-based Elesar’s Titanium development board. The Titanium is not really a clone, but it’s available now with similar features and the same new Texas Instruments Sitara AM5728 SoC that was supposed to debut in the still delayed BeagleBoard-X15 hacker SBC. Read more