Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
user cannot su -l
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
projkt4
Apprentice
Apprentice


Joined: 17 Dec 2004
Posts: 238

PostPosted: Sun Feb 06, 2005 4:28 am    Post subject: user cannot su -l Reply with quote

ok, was able to su -l from my user untill about an hour ago when i emerged a network driver and was told that i had 7 files that needed updating and it gave me an option of editing them. so i let it do its thing. (biggest mistake ever!) and now my system is just fucked. i have no idea what files it modified but im slowly getting things back up and running. first thing i had to fix was my fsck file and im still working on my fluxbox issues, but what i come to you all for is some help understanding why my user can no longer su -l and how can i change that back?
Back to top
View user's profile Send private message
codergeek42
Bodhisattva
Bodhisattva


Joined: 05 Apr 2004
Posts: 5142
Location: Anaheim, CA (USA)

PostPosted: Sun Feb 06, 2005 4:31 am    Post subject: Reply with quote

You probably accidentally kicked yourself out of the wheel group. Try running
Code:
# gpasswd -a wheel <user>
as root.
_________________
~~ Peter: Programmer, Mathematician, STEM & Free Software Advocate, Enlightened Agent, Transhumanist, Fedora contributor
Who am I? :: EFF & FSF
Back to top
View user's profile Send private message
projkt4
Apprentice
Apprentice


Joined: 17 Dec 2004
Posts: 238

PostPosted: Sun Feb 06, 2005 4:41 am    Post subject: Reply with quote

i tried running that line of code and i got this

Code:

gpasswd: unkown user wheel


is there more that i need to do?
Back to top
View user's profile Send private message
codergeek42
Bodhisattva
Bodhisattva


Joined: 05 Apr 2004
Posts: 5142
Location: Anaheim, CA (USA)

PostPosted: Sun Feb 06, 2005 4:56 am    Post subject: Reply with quote

Dang. I got confused about the parameter ordering, sorry. :oops: Should have been
Code:
# gpasswd -a <user> wheel

_________________
~~ Peter: Programmer, Mathematician, STEM & Free Software Advocate, Enlightened Agent, Transhumanist, Fedora contributor
Who am I? :: EFF & FSF
Back to top
View user's profile Send private message
projkt4
Apprentice
Apprentice


Joined: 17 Dec 2004
Posts: 238

PostPosted: Sun Feb 06, 2005 5:16 am    Post subject: Reply with quote

i ran the corrcted line and now i can su again! thank you.

does this mean my user may be removed form other gorups as well?
how can i check waht groups i belong to?
Back to top
View user's profile Send private message
codergeek42
Bodhisattva
Bodhisattva


Joined: 05 Apr 2004
Posts: 5142
Location: Anaheim, CA (USA)

PostPosted: Sun Feb 06, 2005 5:22 am    Post subject: Reply with quote

Possibly, yes. Run `groups <user>` in a terminal to see what groups a user is in.
_________________
~~ Peter: Programmer, Mathematician, STEM & Free Software Advocate, Enlightened Agent, Transhumanist, Fedora contributor
Who am I? :: EFF & FSF
Back to top
View user's profile Send private message
projkt4
Apprentice
Apprentice


Joined: 17 Dec 2004
Posts: 238

PostPosted: Sun Feb 06, 2005 8:41 pm    Post subject: Reply with quote

ok, cool. thanks for the tip.
turns out my user has lost association with all groups. (crap)
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security 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