Enter your email address:

Delivered by FeedBurner

How to assign a password to root user in Ubuntu


StumbleUpon Toolbar

Ubuntu by default has no root password, and you can also configure Debian in that way if you choose the advanced installation option, and decide not to use the root password.

But what to do if later you need the root user? well you just need to assign a password to the root user and then you will be able to switch to root user.

sudo passwd

Type a good strong password twice, and you are done.

su -

Type the root password and voila! you are logged as root, you know you have to be carefull on what you do being root right?

Trackback URL for this post:

http://www.go2linux.org/trackback/469
StumbleUpon Toolbar

 If you like this article, subscribe to our full rss

If this article was somehow useful for you, you can leave something in the tip's jar

Please post your question in our forum and use comments only to leave your comments about the article, thanks.

Post new comment

The content of this field is kept private and will not be shown publicly.
  • Web page addresses and e-mail addresses turn into links automatically.
  • Allowed HTML tags: <a> <em> <strong> <cite> <code> <ul> <ol> <li> <dl> <dt> <dd>
  • Lines and paragraphs break automatically.

More information about formatting options

Captcha
This question is for testing whether you are a human visitor and to prevent automated spam submissions.

This site is proudly hosted at Bluefur Hosting