Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
going to 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
Jarhead
Guru
Guru


Joined: 26 Mar 2004
Posts: 474

PostPosted: Thu Apr 15, 2004 11:36 am    Post subject: going to su -: permission denied Reply with quote

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
View user's profile Send private message
adaptr
Watchman
Watchman


Joined: 06 Oct 2002
Posts: 6730
Location: Rotterdam, Netherlands

PostPosted: Thu Apr 15, 2004 11:49 am    Post subject: Reply with quote

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
View user's profile Send private message
NoControl
n00b
n00b


Joined: 06 Apr 2004
Posts: 74

PostPosted: Thu Apr 15, 2004 12:02 pm    Post subject: Reply with quote

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
View user's profile Send private message
adaptr
Watchman
Watchman


Joined: 06 Oct 2002
Posts: 6730
Location: Rotterdam, Netherlands

PostPosted: Thu Apr 15, 2004 1:58 pm    Post subject: Reply with quote

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
View user's profile Send private message
Jarhead
Guru
Guru


Joined: 26 Mar 2004
Posts: 474

PostPosted: Thu Apr 15, 2004 2:06 pm    Post subject: how to fix? Reply with quote

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
View user's profile Send private message
skunkworx
Guru
Guru


Joined: 02 Feb 2003
Posts: 420
Location: Planet Houston

PostPosted: Thu Apr 15, 2004 2:28 pm    Post subject: Reply with quote

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
View user's profile Send private message
sapphirecat
Guru
Guru


Joined: 15 Jan 2003
Posts: 376

PostPosted: Thu Apr 15, 2004 8:05 pm    Post subject: Reply with quote

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
View user's profile Send private message
senectus
Guru
Guru


Joined: 17 Jul 2003
Posts: 534

PostPosted: Sat May 08, 2004 7:43 am    Post subject: Reply with quote

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
View user's profile Send private message
tomk
Bodhisattva
Bodhisattva


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

PostPosted: Sat May 08, 2004 12:40 pm    Post subject: Reply with quote

There is a FAQ about it in the FAQ Forum:

https://forums.gentoo.org/viewtopic.php?t=23378
_________________
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