Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[Solved]su: Permission Denied
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
foxbat
Tux's lil' helper
Tux's lil' helper


Joined: 19 Jul 2006
Posts: 77
Location: Washington, DC

PostPosted: Sun Jan 21, 2007 5:33 pm    Post subject: [Solved]su: Permission Denied Reply with quote

I'm dumb.

So i typed:

usermod -G portage,video

and now I can't su as root... I'm assuming this is because my user doesn't have permission to do so, right? How do i get my regular permissions back?
_________________
Gentoo 2006.1 | AMD X2


Last edited by foxbat on Sun Jan 21, 2007 5:38 pm; edited 1 time in total
Back to top
View user's profile Send private message
foxbat
Tux's lil' helper
Tux's lil' helper


Joined: 19 Jul 2006
Posts: 77
Location: Washington, DC

PostPosted: Sun Jan 21, 2007 5:38 pm    Post subject: Reply with quote

nevermind, looks like i just erased all of my user's groups, including the wheel group, which explains why i wasn't allowed to su. Logged out, logged back in as root, then i used gpasswd -a user group_name to readd myself. All is well...

but i'm still dumb
_________________
Gentoo 2006.1 | AMD X2
Back to top
View user's profile Send private message
didymos
Advocate
Advocate


Joined: 10 Oct 2005
Posts: 4798
Location: California

PostPosted: Sun Jan 21, 2007 5:38 pm    Post subject: Reply with quote

You have to add that user to the wheel group. Using -G removes you from any group you're currently a member of if you haven't put it in the list on the command line.
_________________
Thomas S. Howard
Back to top
View user's profile Send private message
nixnut
Administrator
Administrator


Joined: 09 Apr 2004
Posts: 10973
Location: the dutch mountains

PostPosted: Mon Jan 22, 2007 6:24 pm    Post subject: Reply with quote

Moved from Installing Gentoo to Duplicate Threads.
See https://forums.gentoo.org/viewtopic-t-11126.html
_________________
Please add [solved] to the initial post's subject line if you feel your problem is resolved. Help answer the unanswered

talk is cheap. supply exceeds demand
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