View previous topic :: View next topic |
Author |
Message |
Jarhead Guru
Joined: 26 Mar 2004 Posts: 474
|
Posted: Thu Apr 15, 2004 11:36 am Post subject: going to su -: permission denied |
|
|
My system was working fine until I did emerge -u world yesterday. When I try to become root to build my new kernel (upgrade from 2.6.3 to 2.6.5), I am denied permission. Is this fixable, or is my system dead and in need of a re-install? _________________ Hats off to everyone in leadership, developmental, or administrative capacities for Gentoo Linux. Your hard work is very much appreciated. |
|
Back to top |
|
|
adaptr Watchman
Joined: 06 Oct 2002 Posts: 6730 Location: Rotterdam, Netherlands
|
Posted: Thu Apr 15, 2004 11:49 am Post subject: |
|
|
Are you still a member of the wheel group ? _________________ >>> emerge (3 of 7) mcse/70-293 to /
Essential tools: gentoolkit eix profuse screen |
|
Back to top |
|
|
NoControl n00b
Joined: 06 Apr 2004 Posts: 74
|
Posted: Thu Apr 15, 2004 12:02 pm Post subject: |
|
|
I had the same problem, and thanks adaptr for the why-didn't-I-think-of-this-myself hint.
How come yesterdays update removed me from the wheel group? |
|
Back to top |
|
|
adaptr Watchman
Joined: 06 Oct 2002 Posts: 6730 Location: Rotterdam, Netherlands
|
Posted: Thu Apr 15, 2004 1:58 pm Post subject: |
|
|
Because updating baselayout replaced /etc/groups ?
Just a thought... _________________ >>> emerge (3 of 7) mcse/70-293 to /
Essential tools: gentoolkit eix profuse screen |
|
Back to top |
|
|
Jarhead Guru
Joined: 26 Mar 2004 Posts: 474
|
Posted: Thu Apr 15, 2004 2:06 pm Post subject: how to fix? |
|
|
Do I create a new user or just edit /etc/groups? _________________ Hats off to everyone in leadership, developmental, or administrative capacities for Gentoo Linux. Your hard work is very much appreciated. |
|
Back to top |
|
|
skunkworx Guru
Joined: 02 Feb 2003 Posts: 420 Location: Planet Houston
|
Posted: Thu Apr 15, 2004 2:28 pm Post subject: |
|
|
Just edit /etc/group (not "groups"). Find the line that starts with "wheel", and add any user's name you want to allow switching to root. Add them at the end of the line, after the last colon. _________________ Proud to be a... eh, forget it.
"Everyday is just one day." -- not the Traveling Wilburys |
|
Back to top |
|
|
sapphirecat Guru
Joined: 15 Jan 2003 Posts: 376
|
Posted: Thu Apr 15, 2004 8:05 pm Post subject: |
|
|
The best way (thanks be to #gentoo ):
Code: | gpasswd -a yourusername wheel |
Or for mass re-adding:
Code: | for i in audio games wheel ; do gpasswd -a yourusername $i ; done |
_________________ Former Gentoo user; switched to Kubuntu 7.04 when I got sick of waiting on gcc. Chance of thread necro if you reply now approaching 100%... |
|
Back to top |
|
|
senectus Guru
Joined: 17 Jul 2003 Posts: 534
|
Posted: Sat May 08, 2004 7:43 am Post subject: |
|
|
I too cannot su to root, I have checked and double checked and I AM in the "wheel" group.
Any ideas why this has just suddenly happened?? _________________ 2800+XP A7N8X FX6600GT
www.modmeup.net |
Belief is 9/10 of YOUR reality.
Wise man say: A skilled troll is a master baiter. |
|
Back to top |
|
|
tomk Bodhisattva
Joined: 23 Sep 2003 Posts: 7221 Location: Sat in front of my computer
|
|
Back to top |
|
|
|