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

Kodi 15 Brings XBMC Media Player to Android

The XBMC Foundation's Team Kodi last week released version 15 of its popular, open source Kodi media player and home theater framework. The "Isengard" release of Kodi (formerly XBMC) offers enhancements ranging from new chapter support to an improved add-on manager, but the biggest news is the completion of the Android version. Read more

Systemd Is Launching Its Own Conference

Lennart Poettering today announced systemd.conf 2015, its inaugural conference devoted to the future of systemd. Read more

Opinion Poll (latest update)
systemd usage I use systemd and like it: 787 (30%) I use systemd and dislike it: 318 (12%) I am not using systemd and plan to use it: 111 (4%) I am not using systemd and plan to avoid it: 1170 (44%) Other: 260 (10%)

Linux 4.2 May Finish Fixing Up Radeon Audio Support

Since the Linux 4.0 kernel there has been DisplayPort audio support for the open-source Radeon driver. That DP audio handling came after a big rework to the audio code in the Radeon DRM kernel driver. A half-year later it looks like all the audio code is now cleaned up and ready. Read more Also: Radeon Gallium3D Tackles A Bit More, OpenGL 4.1 Patches Pending NVIDIA 352.30 GPU Driver For Linux Has Been Released

LibreOffice 5.0 Right Around the Corner, Guided Tour of LibreOffice

  • LibreOffice 5.0 Right Around the Corner
    Major release LibreOffice 5.0 is due next Wednesday with a lot of new features. Italo Vignoli today posted The Road to LibreOffice 5.0 in which he looks back at all the added features since January 2015 with version 3.3. Today's summary shows "the impressive amount of new features added to LibreOffice since version 3.3." LibreOffice 3.3 was released in January 2011. This release was significant in that the development and management of LibreOffice had come together in a short time and put out a release that brought several new features. SVG support, easier title and page formatting and numbering, improved ergonomics in Calc, and Microsoft Works support were among the newest features added by The Document Foundation.
  • A Guided Tour of LibreOffice
    I have been using LibreOffice since it was called Star Office and all documents opened in a tabbed interface, as in most modern spreadsheet applications (anyone remember those days?). From those early days until now, I have considered Star Office/OpenOffice.org/LibreOffice to be an excellent, if not superior, tool compared to many on the market.