Ubuntu This forum is for the discussion of Ubuntu Linux. |
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
02-19-2007, 02:15 AM
|
#1
|
LQ Newbie
Registered: Jan 2007
Posts: 6
Rep:
|
Unable to add user in Ubuntu
I have installed Ubuntu (Hedgehog) and wish to add a user. When prompted for the password, I enter my root password and get
'failed to run users-admin. Child terminated with 1 status'.
The same occurs if I try to alter system clock or perform any other function requiring root privilege. If I enter 'su' from a terminal session the system accepts the root password that I enter. Do I need to re-install?
|
|
|
02-19-2007, 02:57 AM
|
#2
|
LQ Guru
Registered: Oct 2003
Location: Waiheke NZ
Distribution: Ubuntu
Posts: 9,211
Rep: 
|
Ubuntu dosn't have a root user. You enter your user password.
What the gui is doing is running sudo - only the first created user gets sudo access by default.
You should upgrade and read through:
http://easylinux.info/wiki/Ubuntu:Edgy
( Hoary Hedghog is pretty old now - support has gone.)
Also note: you have posted this in the MEPIS forum.
|
|
|
02-19-2007, 02:58 AM
|
#3
|
Moderator
Registered: Nov 2002
Location: Kent, England
Distribution: Debian Testing
Posts: 19,192
|
Moved: This thread is more suitable in Ubuntu and has been moved accordingly to help your thread/question get the exposure it deserves.
|
|
|
02-19-2007, 03:52 AM
|
#4
|
LQ Newbie
Registered: Jan 2007
Posts: 6
Original Poster
Rep:
|
Thanks Simon. Soory about posting in the wrong forum - I had Mepis installed and this was my default page....
I have tried my user password from the GUI, the system does absolutely nothing with it.
|
|
|
02-19-2007, 05:01 AM
|
#5
|
LQ Guru
Registered: Oct 2003
Location: Waiheke NZ
Distribution: Ubuntu
Posts: 9,211
Rep: 
|
That's how it works for me.
system > admin > users (enter user password) and I'm in.
Try using sudo from the terminal.
Have you ever been able to mess with admin stuff?
Last edited by Simon Bridge; 02-19-2007 at 05:06 AM.
|
|
|
02-19-2007, 06:32 AM
|
#6
|
LQ Newbie
Registered: Jan 2007
Posts: 6
Original Poster
Rep:
|
I've only recently installed Ubuntu, having had the disks for quite a while. I am unable to perform any admin tasks. I do: system > admin > users (enter user password) or any other command that will require root privilege, and the system accepts it and goes nowhere with it. The system does however accept my root password from 'su' in a terminal session....
|
|
|
02-20-2007, 02:58 AM
|
#7
|
LQ Guru
Registered: Oct 2003
Location: Waiheke NZ
Distribution: Ubuntu
Posts: 9,211
Rep: 
|
Yeah - I've been playing around in my system and discover that there is a root user with a root password somehow. I've never had one before.
However - have you tried sudo from the terminal? Say:
$ sudo apt-get update
You recall, the gui doesn't use su -c to execute admin functions. It uses sudo. Being able to use su means nothing to the gui.
Last edited by Simon Bridge; 02-20-2007 at 03:00 AM.
|
|
|
02-22-2007, 05:39 AM
|
#8
|
LQ Newbie
Registered: Jan 2007
Posts: 6
Original Poster
Rep:
|
Thanks Simon, I tried everything, but to no avail. Re-installed last night and can now access all the admin functions with user password. I guess something went wrong during the initial install, the interesting thing is that I was initially required to create and confirm a root password during the install (I elected to go for an expert install since I had an existing Windows partition and one other partition). When I re-installed last night there was no requirement for me to create a root password........
|
|
|
02-22-2007, 05:18 PM
|
#9
|
LQ Guru
Registered: Oct 2003
Location: Waiheke NZ
Distribution: Ubuntu
Posts: 9,211
Rep: 
|
Oh what a shame - you probably just needed to add yourself to the admin group or edit /etc/sudoers to include you.
|
|
|
All times are GMT -5. The time now is 11:56 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|