Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
User can't use 'su'
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Duplicate Threads
View previous topic :: View next topic  
Author Message
psic
n00b
n00b


Joined: 11 Dec 2005
Posts: 63
Location: Slovenia

PostPosted: Sun Apr 09, 2006 12:55 am    Post subject: User can't use 'su' Reply with quote

I was playing around with Conky (just setting it up and stuff) when I noticed that I can no longer 'su'! I can log out and log in as root, works fine, but if I try 'su' in the terminal, it asks for the password then says "Permission denied Sorry". I think I might have messed something up when I added myself to the portage group, I suspect that I have to add myself to some other group in order to use 'su' again?

What are the default groups which a new user belongs to in gentoo?

Thanks for the help.
Back to top
View user's profile Send private message
yabbadabbadont
Advocate
Advocate


Joined: 14 Mar 2003
Posts: 4791
Location: 2 exits past crazy

PostPosted: Sun Apr 09, 2006 12:57 am    Post subject: Reply with quote

Your user needs to be a member of the 'wheel' group in order to use su.
Back to top
View user's profile Send private message
psic
n00b
n00b


Joined: 11 Dec 2005
Posts: 63
Location: Slovenia

PostPosted: Sun Apr 09, 2006 1:04 am    Post subject: Reply with quote

Thanks for that, yabbadabbadont, when I added myself to the portage group, I removed myself from tons of other groups.

:oops:
Back to top
View user's profile Send private message
yabbadabbadont
Advocate
Advocate


Joined: 14 Mar 2003
Posts: 4791
Location: 2 exits past crazy

PostPosted: Sun Apr 09, 2006 1:07 am    Post subject: Reply with quote

That's why I always use the gpasswd command. It makes it easy to add yourself to a new group without touching your current group memberships.

Don't forged to edit the subject of your original post to include SOLVED.
Back to top
View user's profile Send private message
tomk
Bodhisattva
Bodhisattva


Joined: 23 Sep 2003
Posts: 7221
Location: Sat in front of my computer

PostPosted: Sun Apr 09, 2006 9:59 am    Post subject: Reply with quote

Moved from Other Things Gentoo to Duplicate Threads, please see this FAQ.
_________________
Search | Read | Answer | Report | Strip
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Duplicate Threads All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum