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

Google's Chromebit Turns Any TV Into a Chrome PC for Under $100

Google just introduced a whole new kind of Chrome OS computer—a dongle that plugs into any HDMI-equipped display. It’s called a Chromebit, and it isn’t your run-of-the-mill streaming stick. For under $100, you’re looking at a full computer that plugs right into your TV. Read more

Red Hat News

  • Why The Red Hat Story Can Only Get Better
    But, it turns out that I was a bit conservative with my estimates. And it also turns out that I did not give the OpenShift platform the respect it deserves. OpenShift is an open-source PaaS platform by Red Hat. Red Hat released fourth quarter and full year fiscal 2014 results that nicely beat analysts' top and bottom line expectations, powered by strong adoption of OpenStack and OpenShift.
  • CentOS 7 Updates
    The CentOS Project is happy to announce the availability of CentOS 7 (1503). This release includes a number of new features including a major update to IPA, which adds support for two-factor authentication. Other enhancements include the addition of OpenJDK 8, the return of Thunderbird, and improved container support.
  • Red Hat brings big Data integration to JBoss Middleware Portfolio
    Red Hat has become a role model for open source aspirants. They make more than a billion dollars per year from open source software; no secret sauce. Red Hat’s solution powers companies and organizations around the globe.

Ubuntu Security