Go Job Hunting at the LQ Job Marketplace
Go Back > Forums > Linux Forums > Linux - Distributions > Ubuntu
User Name
Ubuntu This forum is for the discussion of Ubuntu Linux.


  Search this Thread
Old 02-20-2006, 08:53 PM   #1
Registered: Oct 2005
Location: London
Distribution: elive e17
Posts: 152

Rep: Reputation: 30
what is the default root pasword?

Just installed Ubuntu and I do nto know what the root password is. I do not think I set it.

How do i set the root pasword in Ubuntu?

many thanks.
Old 02-20-2006, 09:01 PM   #2
Registered: Oct 2005
Posts: 518

Rep: Reputation: 32
Root is not enabled by default. You need to use the sudo command. Sudo is quite different from root considering that you will use your username password.


sudo apt-get update
type your password.

If you want to open gedit needing root or sudo access.

sudo gedit /var/log/messages
your username password.

You can enable root if you would like. Sudo is suppose to increase security by keeping people logged into root for extended periods of time.
Old 02-20-2006, 09:28 PM   #3
Senior Member
Registered: May 2005
Distribution: Ubuntu with IceWM
Posts: 1,776

Rep: Reputation: 78
You don't need a root account or root password:
Old 02-20-2006, 10:37 PM   #4
LQ Guru
Registered: Aug 2001
Location: Fargo, ND
Distribution: SuSE AMD64
Posts: 15,733

Rep: Reputation: 658Reputation: 658Reputation: 658Reputation: 658Reputation: 658Reputation: 658
Thank you for that link aysiu.

Does Ubuntu do this by disabling logins with the "*" password trick, or is PAM used?

Using a persons own password for sudo is the way Mandrake sets things up. This allows you to let some users to run some root commands without having to reveal the root password. Here there is no root password to give out!
Old 02-21-2006, 05:08 AM   #5
Registered: Oct 2005
Location: London
Distribution: elive e17
Posts: 152

Original Poster
Rep: Reputation: 30
Thanks for that info guys. I'm a bit new to ubuntu


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
pasword Baghdad Linux - Newbie 2 12-01-2005 07:50 AM
samba pasword dirs deus1 Linux - Software 1 01-17-2005 07:09 PM
wts knoppics 3.1 default rot pasword farhan Linux - Distributions 1 01-17-2004 02:41 AM
change user pasword israel Linux - Software 2 09-24-2003 09:52 PM
pasword database sqn Linux - Networking 1 04-25-2002 04:34 AM

All times are GMT -5. The time now is 05:30 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration