Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
su problem: (/etc/group is ok) i rtfm... twice
View unanswered posts
View posts from last 24 hours

Goto page Previous  1, 2  
Reply to topic    Gentoo Forums Forum Index Duplicate Threads
View previous topic :: View next topic  
Author Message
barran
Tux's lil' helper
Tux's lil' helper


Joined: 14 Jan 2003
Posts: 142
Location: Århus, DK

PostPosted: Wed Nov 03, 2004 10:39 am    Post subject: Re: wheel Reply with quote

barnie wrote:
How is this "must be wheel" realized?


You just put "auth required /lib/security/pam_wheel.so use_uid" in /etc/pam.d/su
This has the wanted effect with these permissions on the su binary file:
Code:

pts/0 barran@bellucci$ ls -la =su                                           (~)
-rwsr-xr-x  1 root root 21704 17 sep 03:56 /bin/su*
pts/0 barran@bellucci$
Back to top
View user's profile Send private message
fatalglitch
n00b
n00b


Joined: 25 Nov 2003
Posts: 54

PostPosted: Thu Jan 27, 2005 8:49 am    Post subject: Reply with quote

ummm, isn't there a config file in /etc that dictates whether a user can actually su into root? I thought I remembered there being one, changing permissions is NOT the right answer.

edit:
found it, check out /etc/pam.d/su

-Tom
Back to top
View user's profile Send private message
nomadsoul22
n00b
n00b


Joined: 08 Jan 2005
Posts: 30
Location: St. Margrethen Switzerland

PostPosted: Mon Feb 14, 2005 11:43 pm    Post subject: Reply with quote

i tried all that... but its still not working. could it be cause im working over ssh?
_________________
Zitat aus Butterfly Effect: "Guck mal, ne Wunderkerze!"
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
Goto page Previous  1, 2
Page 2 of 2

 
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