View previous topic :: View next topic |
Author |
Message |
projkt4 Apprentice
Joined: 17 Dec 2004 Posts: 238
|
Posted: Sun Feb 06, 2005 4:28 am Post subject: user cannot su -l |
|
|
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 |
|
|
codergeek42 Bodhisattva
Joined: 05 Apr 2004 Posts: 5142 Location: Anaheim, CA (USA)
|
Posted: Sun Feb 06, 2005 4:31 am Post subject: |
|
|
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 |
|
|
projkt4 Apprentice
Joined: 17 Dec 2004 Posts: 238
|
Posted: Sun Feb 06, 2005 4:41 am Post subject: |
|
|
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 |
|
|
codergeek42 Bodhisattva
Joined: 05 Apr 2004 Posts: 5142 Location: Anaheim, CA (USA)
|
Posted: Sun Feb 06, 2005 4:56 am Post subject: |
|
|
Dang. I got confused about the parameter ordering, sorry. 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 |
|
|
projkt4 Apprentice
Joined: 17 Dec 2004 Posts: 238
|
Posted: Sun Feb 06, 2005 5:16 am Post subject: |
|
|
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 |
|
|
codergeek42 Bodhisattva
Joined: 05 Apr 2004 Posts: 5142 Location: Anaheim, CA (USA)
|
Posted: Sun Feb 06, 2005 5:22 am Post subject: |
|
|
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 |
|
|
projkt4 Apprentice
Joined: 17 Dec 2004 Posts: 238
|
Posted: Sun Feb 06, 2005 8:41 pm Post subject: |
|
|
ok, cool. thanks for the tip.
turns out my user has lost association with all groups. (crap) |
|
Back to top |
|
|
|