LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Ubuntu
User Name
Password
Ubuntu This forum is for the discussion of Ubuntu Linux.

Notices


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

Rep: Reputation: 0
default root password


Hi,
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
Egghead152
LQ Newbie
 
Registered: Aug 2005
Location: South Jersey
Posts: 2

Rep: Reputation: 0
Sudo!

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

Code:
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
ChrisTheGeek
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
rayburn
Member
 
Registered: Jul 2004
Posts: 33

Rep: Reputation: 16
tuxmanfromindia

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
mouldy_punk
Member
 
Registered: Jul 2004
Distribution: Slackware/SuSE/Mandriva/Ubuntu
Posts: 78

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

sudo -i
Password

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


Reply


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

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Ubuntu

All times are GMT -5. The time now is 05:10 AM.

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