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

Elive 2.7.1 beta released

The Elive Team is proud to announce the release of the beta version 2.7.1 This new version includes: Audacity (audio wave editor) included by default Timezone detection improved Detector of systems improved and updated to detect last windows installed systems Linux Kernel updated with a lot of new patches for new hardware, bugfixes and improvements Google Voice search on internet using your microphone Read more

How To Setup Linux Web Server And Host Website On Your Own Computer [Part - 2]

Welcome, everyone. It is the second part of how we can setup Linux Web Server and host website on our own Computer. There are some prerequisites to hosting Linux Web Server that we talked about in part 1. If you've not installed Apache web server or any other prerequisite then you must visit Part 1 before reading any further. In this article, we will show you how you can easily make your local website available for the rest of World! So let's get started. Read
more

15 top Android smartphones we reviewed recently

The second half of 2016 took off with some exciting launches from notable manufacturers like Motorola, HTC, Xiaomi and others. With so many smartphones being launched on a near-daily basis by brands both big and small, it gets quite difficult to keep track of them. To help our readers in making their purchase decisions, here is a list of the 15 top Android smartphones we reviewed recently. Take a look. Read more

Ubuntu tablet and smartphone: a personal "mini" review

So when Ubuntu and Canonical revealed they were partnering with actual, big manufacturers for Ubuntu mobile devices, a spark of hope was rekindled in my heart. Let it be clear, I am by no means an Ubuntu user, not even a fan. I left the fold nearly a decade ago, after having spent quite some time using and contributing to Kubuntu (to the point of becoming a certified “member” even, though I never ascended to the Council). In terms of loyalties and usage, I am a KDE user (and “helper”) foremost. I use Fedora because it just works for me, for now. So, yes, an Ubuntu Touch device would be another compromise for me, but it would be the smallest one. Or so I hoped. Read more