Download your favorite Linux distribution at LQ ISO.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 02-09-2006, 10:46 AM   #1
Registered: Jan 2006
Distribution: Ubuntu 5.10
Posts: 33

Rep: Reputation: 15
Ubuntu 5.10 root problems

Ok just got ubuntu. Seems like a distro that I am going to like. One thing though. Root is disabled by default. I was not asked to set a password. To enable the root account you apparently have to type

sudo passwrd root

I am then asked for a password. If i type in one that I want to use it says

Sorry. Please try again.

If i leave it blank it gives me the prompt again. I can hardly do anything as my system needs new software and further configuation I have to do as root but can't get in as a password hasn't been set. If I try not entering a password I get an error message. If i try using a password... I get an error message.

Help please


Old 02-09-2006, 11:00 AM   #2
Registered: Jan 2006
Location: Mukwonago, WI
Distribution: Slackware 12
Posts: 77

Rep: Reputation: 16
You can try

sudo -s -H

This will bring you into a constant "super user mode" that has the same power as root.

I just tried "sudo passwd root" on my Ubuntu 5.10 box and it worked fine.

I just noticed that you typed "passwrd" not "passwd"

passwd is the correct way to enter the command

Last edited by jaykup; 02-09-2006 at 11:04 AM.
Old 02-09-2006, 01:55 PM   #3
LQ Guru
Registered: Dec 2005
Location: Somewhere on the String
Distribution: Debian Wheezy (x86)
Posts: 6,094

Rep: Reputation: 272Reputation: 272Reputation: 272
The other problem is that when you use "sudo" it is probably asking you for your USER password. Then once you use your USER password to become root, it will prompt you to enter a ROOT password.
Old 02-10-2006, 06:59 AM   #4
Registered: Jan 2006
Distribution: Ubuntu 5.10
Posts: 33

Original Poster
Rep: Reputation: 15
Thanx fo the help. I understand now and sorted it. Thanx again



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
ubuntu, I can no longer become root or have root rights TroelsSmit Linux - Newbie 7 03-24-2007 08:17 PM
Ubuntu root craigissexy Linux - Newbie 2 01-10-2006 12:45 AM
does Ubuntu have a root mystic_durle12 Ubuntu 9 11-05-2005 06:28 PM
One more; Root-password in Ubuntu 5.04 Waerner Linux - Newbie 17 06-16-2005 07:29 AM
ubuntu root problems GrexMachine Linux - Newbie 5 03-02-2005 09:11 AM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 06:37 AM.

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