LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
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 01-20-2008, 03:03 PM   #1
CrownAmbassador
Member
 
Registered: Mar 2005
Location: Cape Town, South Africa
Distribution: Ubuntu 8.10
Posts: 374

Rep: Reputation: 30
Root Password Problem


When I log into my package manager or go directly to a root terminal it accepts my password which is the same as my user password, but when I try to run EasyUbuntu it asks me for the password and then doesn't accept it. The same thing happens when I sudu. Any idea why that is?

Thanks.
 
Old 01-20-2008, 03:09 PM   #2
mcd
Member
 
Registered: Aug 2003
Location: Denver, CO
Distribution: CentOS, Debian
Posts: 825

Rep: Reputation: 33
Sounds to me like your root password and user password are not the same, although I know you said they are. Try changing your user password, then your root password, like this:

passwd
sudo passwd root

Post up if you run into trouble...
 
Old 01-20-2008, 03:24 PM   #3
CrownAmbassador
Member
 
Registered: Mar 2005
Location: Cape Town, South Africa
Distribution: Ubuntu 8.10
Posts: 374

Original Poster
Rep: Reputation: 30
Thanks mcd,

It seems like changing the two passwords actually worked, but now when I run EasyUbuntu and put the password in it doesn't do anything. Is this normal? I've never used this app before.
 
Old 01-20-2008, 03:30 PM   #4
mcd
Member
 
Registered: Aug 2003
Location: Denver, CO
Distribution: CentOS, Debian
Posts: 825

Rep: Reputation: 33
don't know, I've never used easyubuntu. you could try running it from terminal like so:

sudo easyubuntu

(at least that should work...) if there are errors they should be displayed in terminal and that might help troubleshoot.
 
Old 01-20-2008, 09:52 PM   #5
esselfe
LQ Newbie
 
Registered: Jun 2006
Location: Montreal, Quebec, Canada
Distribution: Lunar-Linux
Posts: 10

Rep: Reputation: 0
get root!

Well, I had the same trouble aquiring root on Ubuntu.

What I did is to start the system in custom rescuing mode. (changes cannot be made using Ubuntu's rescue entry in GRUB)

Quote:
The rescue mode is considered when the system's boot progress can't complete and
when there's no way to access a command line, due to exceptional circumstances such
as misconfiguration of important system settings

The rescue mode can be replaced by the use of a liveCD, but for minor changes,
it's simply a question of kernel parameter. To enable this mode,
make sure the rescue entry is properly configured

* reboot the machine to the GRUB menu
* press 'e' to edit the rescued Linux system
* press 'e' to edit the line beginning with "kernel"
* change "ro" for "rw" and append "init=/bin/bash" to the line
* press <enter>
* press 'b' to boot with the new settings. (Note the these changes will be lost on next boot)

Some scripts found in /etc/rcS.d may need to be executed with "start" as parameter, such as the keyboard-setting, udev and mountkernfs.sh
Once you're at the prompt, type "passwd root" and everything should be finally fine.
Now if that doesn't work, consider another distribution as this one seems locked down in some way.

Last edited by esselfe; 01-21-2008 at 01:03 PM.
 
Old 01-21-2008, 02:47 PM   #6
CrownAmbassador
Member
 
Registered: Mar 2005
Location: Cape Town, South Africa
Distribution: Ubuntu 8.10
Posts: 374

Original Poster
Rep: Reputation: 30
Thanks esselfe, but the password problem has been resolved.

When I run EasyUbuntu in a terminal I get the following error:

"Unable to determine desktop environment, falling back on gksudo"
 
Old 01-21-2008, 03:57 PM   #7
mcd
Member
 
Registered: Aug 2003
Location: Denver, CO
Distribution: CentOS, Debian
Posts: 825

Rep: Reputation: 33
Hmm. "Falling back on gksudo" may be related to sudo or gksudo and not easyubuntu. What exactly did you type in terminal? Your desktop environment is gnome, or kde perhaps. I did a quick search of easyubuntu cannot determine desktop environment, falling back on gksudo and I got several hits. Nothing that appeared helpful at first glance but at least there are other people having the same issue. Try running gksudo firefox or something in terminal to see if gksudo works ok. That should just prompt you for your password and then launch firefox. Post up if that works.
 
Old 01-22-2008, 11:21 AM   #8
CrownAmbassador
Member
 
Registered: Mar 2005
Location: Cape Town, South Africa
Distribution: Ubuntu 8.10
Posts: 374

Original Poster
Rep: Reputation: 30
For both sudu and gksudu I get a Bash:command not found message.
 
Old 01-22-2008, 12:46 PM   #9
CrownAmbassador
Member
 
Registered: Mar 2005
Location: Cape Town, South Africa
Distribution: Ubuntu 8.10
Posts: 374

Original Poster
Rep: Reputation: 30
Okay! I'm officially a idiot! Lol! Should be sudo and gksudo not sudu!

Anway... for both sudo and gksudo i get the same "Unable to determine desktop environment, falling back on gksudo" message.

When I sudo or gksudo firefox firefox opens.

Last edited by CrownAmbassador; 01-22-2008 at 12:51 PM. Reason: Added info.
 
Old 01-22-2008, 01:08 PM   #10
CrownAmbassador
Member
 
Registered: Mar 2005
Location: Cape Town, South Africa
Distribution: Ubuntu 8.10
Posts: 374

Original Poster
Rep: Reputation: 30
I reinstalled Easyubuntu with the wget command. now when i run it I get this:


Code:
Unable to determine desktop environment, falling back to gksudo
/usr/lib/easyubuntu
When you get a 'Password: ' prompt, type in your user password.
System sanity check: PASSED!
Traceback (most recent call last):
  File "./easyubuntu.in", line 81, in ?
    main()
  File "./easyubuntu.in", line 75, in main
    gtkfrontend.launcher(datadir, confdir, userPackageListPath)
  File "/usr/lib/easyubuntu/EasyUbuntu/gtkfrontend.py", line 208, in launcher
    pkglist = minidom.parse(os.path.join(datadir,userPkg))
  File "/usr/lib/python2.4/site-packages/_xmlplus/dom/minidom.py", line 1915, in parse
    return expatbuilder.parse(file)
  File "/usr/lib/python2.4/site-packages/_xmlplus/dom/expatbuilder.py", line 924, in parse
    fp = open(file, 'rb')
IOError: [Errno 2] No such file or directory: '/usr/lib/easyubuntu/packagelist-hoary.xml'
Sorry about all the posts. Happens when I think of something else.
 
Old 01-23-2008, 12:54 PM   #11
CrownAmbassador
Member
 
Registered: Mar 2005
Location: Cape Town, South Africa
Distribution: Ubuntu 8.10
Posts: 374

Original Poster
Rep: Reputation: 30
Nobody have any suggestions? Or a way of making Ubuntu 5.04 play mp3?
 
  


Reply



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
root password problem parthbakshi SUSE / openSUSE 2 02-15-2007 07:11 AM
root password problem parthbakshi Linux - Security 1 02-15-2007 04:40 AM
root password problem dbarracuda SUSE / openSUSE 3 10-31-2004 05:11 PM
root password problem alternative Linux - Laptop and Netbook 6 06-06-2004 02:17 PM

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

All times are GMT -5. The time now is 10:19 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