LinuxQuestions.org
Did you know LQ has a Linux Hardware Compatibility List?
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
 
LinkBack Search this Thread
Old 09-30-2005, 10:10 PM   #1
GEJOE DANIEL
Member
 
Registered: Aug 2005
Posts: 81

Rep: Reputation: 15
root password in ubuntu???


how to get the root password for ubuntu 5.04??/
We tried using the install cd and giving 'linux single' but nothing worked out.....


i tried going to the recovery mode(menu entry was there for this mode) and set the new password.
there it showed that the root (administrator)user can't login to the recovery mode (GUI) of
ubuntu.Ok that was fine

But when we went to the normal mode also it showed the message that administrator is not allowed to login to this screen....
Why is it so???

gejoe
 
Old 09-30-2005, 11:23 PM   #2
ag2uki
Member
 
Registered: Oct 2004
Location: Yogyakarta, Indonesia
Distribution: Mandrake 9.0, 9.1, 9.2, 10.0
Posts: 84

Rep: Reputation: 16
You can set a new password for root using 'sudo'
Code:
$ sudo su
<prompted for your login password>
# passwd
<set your password after executing this command>
 
Old 09-30-2005, 11:35 PM   #3
GEJOE DANIEL
Member
 
Registered: Aug 2005
Posts: 81

Original Poster
Rep: Reputation: 15
the problem now is we can't login as root user in normal mode.......
also where will we get this prompt so that we can type as follows :
$ sudo su
 
Old 10-01-2005, 12:52 AM   #4
aysiu
Senior Member
 
Registered: May 2005
Distribution: Ubuntu with IceWM
Posts: 1,776

Rep: Reputation: 57
This document explains everything:

https://wiki.ubuntu.com/RootSudo
 
Old 10-01-2005, 01:58 AM   #5
GEJOE DANIEL
Member
 
Registered: Aug 2005
Posts: 81

Original Poster
Rep: Reputation: 15
thanx for the link....
 
Old 10-01-2005, 02:52 AM   #6
GEJOE DANIEL
Member
 
Registered: Aug 2005
Posts: 81

Original Poster
Rep: Reputation: 15
let me ask one question:

where should we type sudo.......??
we want to log in as the root user thro' the Gui.at present we are only able to use the root previlege in text mode or in the terminal of the other user account...
we didn't get the required solution for this problem just by reading the page whose link was given by aysiu
thanks in advance...
 
Old 10-01-2005, 03:00 AM   #7
aysiu
Senior Member
 
Registered: May 2005
Distribution: Ubuntu with IceWM
Posts: 1,776

Rep: Reputation: 57
Do you see the Run.. command in the Gnome menu?
Select that (I believe you can also access it by typing Alt-F2) and type in
Code:
gksudo nautilus
This will allow you to browse around with root privileges instead of doing sudo this and sudo that in the terminal for every command you want.
 
Old 10-01-2005, 09:51 AM   #8
jolly1701
Member
 
Registered: Nov 2003
Location: England, UK.
Distribution: SuSE 10
Posts: 126

Rep: Reputation: 15
in a terminal write

sudo passwd root
press enter

enter your password
press enter

enter a root password
press enter
reenter the root password
press enter

this will set a root password which can be different from your pass word

if u then require root log on
open login screen setup in the admin section
security tab and tick
allow root to login with GDM

you now have a root account ...
 
  


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
Trackbacks are Off
Pingbacks are On
Refbacks are 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
ubuntu, I can no longer become root or have root rights TroelsSmit Linux - Newbie 7 03-24-2007 07:17 PM
How do I get my root password in Ubuntu? GameGuru Linux - Newbie 9 09-09-2005 10:46 AM
One more; Root-password in Ubuntu 5.04 Waerner Linux - Newbie 17 06-16-2005 06:29 AM
Logged in as root, prompted for root password ta0kira Slackware 13 04-25-2005 01:29 AM


All times are GMT -5. The time now is 08:54 PM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration