Notice: Undefined index: db_count in /home1/ossdownl/public_html/networkinganswers/Sources/QueryString.php on line 276
Enable and Disable Ubuntu Root Password
Networking Answers...share your knowledge!
September 04, 2010, 08:42:02 PM *
Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
News: SMF - Just Installed!
 
   Home   Help Search Login Register  
Pages: [1]
  Print  
Author Topic: Enable and Disable Ubuntu Root Password  (Read 665 times)
kalyan
Administrator
Newbie
*****
Posts: 9


View Profile
« on: October 15, 2009, 12:08:38 PM »

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.

Code:
$sudo passwd root

This will prompt for a new root password and once you confirm it, you can start using the root account to login.

If you want to disable root account in ubuntu you need to lock the root account by using the following command

Code:
$sudo passwd -l root

If you want to work on a root console you’d better use the following command

Code:
$sudo -i
« Last Edit: October 18, 2009, 02:32:28 AM by kalyan » Logged
Pau
Newbie
*
Posts: 2



View Profile Email
« Reply #1 on: October 17, 2009, 12:55:32 AM »

Very helpful. Thanks
Logged
Pages: [1]
  Print  
 
Jump to:  

Google PageRank
Powered by MySQL Powered by PHP Powered by SMF 1.1.11 | SMF © 2006-2009, Simple Machines LLC Install SMF | Sitemap Valid XHTML 1.0! Valid CSS!
Page created in 0.063 seconds with 28 queries. (Pretty URLs adds 0.007s, 2q)