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 09-08-2005, 02:30 PM   #1
aeuzent
Member
 
Registered: Jan 2005
Location: Maryland, USA
Distribution: Ubuntu/Debian
Posts: 102

Rep: Reputation: 15
Super User Insanity


Alright I love Ubuntu, I love every single little working feature, except for one

The way root is used


I perfer a root account, Guess I'm just funny that way


Anywho I have activated the root account by way of the "sudo passwd" command. But alot of applications that work through Gnome and KDE will ask for a root password from time to time and the root password they happen to ask for is not the one I created with "sudo passwd". I also have this problem anytime I try to use the sudo command for anything else. This isn't as much of a headache for me as I am the main user but the other run into serious permissions problems. I don't think alot of them can even use sudo.

There's probally a config file somewhere that needs editing I just need to know where to go to make my root account uniform.
 
Old 09-08-2005, 03:01 PM   #2
ginger.fish0
LQ Newbie
 
Registered: Aug 2005
Distribution: Fedora 7
Posts: 23

Rep: Reputation: 15
ok i had this problem too...

what you have to do is restart your comp

when you get into your grb loader enter into recovery console mode (should be the ubunbtu loader right under the one you normally boot to)

it will log you into root and you can chage the password there using the "passwd" command

this make it where you can log in as root and make changes using super user
i also ran across that sometimes when you are trying to make changes and it ask for a password it is not the root password you need. it is hte password you created when you installed ubuntu.
 
Old 09-08-2005, 05:54 PM   #3
aeuzent
Member
 
Registered: Jan 2005
Location: Maryland, USA
Distribution: Ubuntu/Debian
Posts: 102

Original Poster
Rep: Reputation: 15
The root password is already changed. You don't need to be in recovery for that. And using my password for root only works in my account. When other users enter my password they get an error.
 
Old 09-08-2005, 10:32 PM   #4
snarkout
Member
 
Registered: Apr 2005
Location: The Land Of Entrapment
Posts: 77

Rep: Reputation: 15
Well, the password you enter for "sudo [anything]" will always be your user's password, not root's. That's the entire point of sudo - you can elevate a single user's priv's w/o having to hand out the root password to everyone. As far as other people on the box not being able to sudo, they likely aren't in the admin group. To fix this, you can run:

usermod -G [groupname] [username]

[groupname] in this case should be admin. Be aware, though, that this essentially gives everyone on your box root privs, since sudo -s will give them a root shell. I don't know of any way to change the behavior of gnome/kde, but the ubuntu default is that your user's password is what unlocks administrator mode, not root's.

However, all that being said, I agree with you. I do not like the "ubuntu way" of dealing with root privs. At the very least, I wish they had offered a choice between sudo and su in the initial setup.
 
Old 09-10-2005, 02:47 PM   #5
ginger.fish0
LQ Newbie
 
Registered: Aug 2005
Distribution: Fedora 7
Posts: 23

Rep: Reputation: 15
but you can use su in ubuntu...you just have to set the root password...it always worked for me
 
Old 09-10-2005, 02:48 PM   #6
aeuzent
Member
 
Registered: Jan 2005
Location: Maryland, USA
Distribution: Ubuntu/Debian
Posts: 102

Original Poster
Rep: Reputation: 15
Usermod did the trick


It's not exactally the way I'd like it but it will make do
 
  


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
Running super user commands as normal user mickyg Linux - Security 5 10-14-2005 07:25 PM
super user, mandrake 9.2 FF103 Mandriva 5 05-28-2004 10:38 AM
How to add a super user? ICO Slackware 32 02-08-2004 05:00 PM
Super User boyinfrance Linux - Newbie 1 06-17-2002 12:07 PM
normal user = super user jayakrishnan Linux - General 4 03-19-2002 09:58 AM

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

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