LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Ubuntu (https://www.linuxquestions.org/questions/ubuntu-63/)
-   -   default root password (https://www.linuxquestions.org/questions/ubuntu-63/default-root-password-371203/)

tuxmanfromindia 10-09-2005 09:15 AM

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

Egghead152 10-09-2005 01:28 PM

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

ChrisTheGeek 10-10-2005 08:34 AM

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.

rayburn 10-11-2005 03:53 PM

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.

mouldy_punk 10-12-2005 01:52 PM

You can get into a root terminal by typing;

sudo -i
Password

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


All times are GMT -5. The time now is 09:39 PM.