Latest LQ Deal: Latest LQ Deals
Go Back > Forums > Linux Forums > Linux - Distributions > Ubuntu
User Name
Ubuntu This forum is for the discussion of Ubuntu Linux.


  Search this Thread
Old 10-09-2005, 09:15 AM   #1
LQ Newbie
Registered: Oct 2005
Location: Hyderabad
Distribution: ubuntu,FC3
Posts: 1

Rep: Reputation: 0
default root password

Im new to here ,new to linux too and I need help
While installing ubuntu version 4.10 [AMD64/EMT64T Edition] ,I did not create any user Ids and I expected the installer to prompt for root's password.But the installer did not prompt for the root password and when I started the OS after the installation it is asking for root's password.
1)Is there any default password for the root account?
2) Is there any way that we can actually see the root's password or create new user accounts for ubuntu ,as Im able to see all the ubuntu files using FC3 thats installed on another partition?
Is there any other way other than reinstalling.

I use GRUB bootloader and, Fedora core3 and winXP installed before.
Thank you
Old 10-09-2005, 01:28 PM   #2
LQ Newbie
Registered: Aug 2005
Location: South Jersey
Posts: 2

Rep: Reputation: 0

I am new as well and i had this very same problem. To login as root, you have to type sudo before the command, so it would go like this

sudo shutdown now
then it will ask the password, you should enter the password you made before
Old 10-10-2005, 08:34 AM   #3
LQ Newbie
Registered: Apr 2005
Location: London, UK
Distribution: Ubuntu
Posts: 12

Rep: Reputation: 0
Ubuntu uses sudo instead of enabling the root account. As already noted, all you have to do is type 'sudo' before any command you wish to execute as root. The password you type should be the password for your own account.

You can re-enable the root account like so:

sudo passwd root
> Enter your own password
> Enter the new root password
> Confirm the new root password

I don't recommend doing this though, sudo is generally considered a more secure approach since only one command at a time is run as the root user.
Old 10-11-2005, 03:53 PM   #4
LQ Newbie
Registered: Jul 2004
Posts: 29

Rep: Reputation: 16

I had exactly the same problem, so I used a Knoppix disk to change the root password. If you need details let me know.
Old 10-12-2005, 01:52 PM   #5
Registered: Jul 2004
Distribution: Slackware/SuSE/Mandriva/Ubuntu
Posts: 78

Rep: Reputation: 15
You can get into a root terminal by typing;

sudo -i

Then you'll get root@localhost or whatever instead of Username@localhost


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
How could normal user obtain root password or change root password ckamheng Debian 18 02-18-2009 10:28 PM
Default root password thejazzman Linare 4 09-17-2004 02:46 PM
default root password shanenin Linux - Software 0 09-07-2004 09:27 AM
Default root password for Knoppix STD??? madh@ter Linux - Newbie 1 08-27-2004 11:13 AM
MySQL default root password on Slack 9? Tarential Linux - Software 6 05-29-2003 06:14 PM > Forums > Linux Forums > Linux - Distributions > Ubuntu

All times are GMT -5. The time now is 10:04 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
Open Source Consulting | Domain Registration