Results 1 to 3 of 3
Hey All,
I'm doing some delegation via sudo and seem to be blind at the moment.
Can someone give me a second eye and tell me what I'm missing here?
...
- 01-11-2008 #1Just Joined!
- Join Date
- Dec 2005
- Posts
- 4
Sincere Sudo Situations
Hey All,
I'm doing some delegation via sudo and seem to be blind at the moment.
Can someone give me a second eye and tell me what I'm missing here?
I'm trying to allow any user in a specific group to su to a specific user using their environment settings (su - username).
I have it configured now so that (su username) is permitted without setting up the environment with the following line:
user1 (ALL)=(ALL) /bin/su user2
but I can't get any of the following to work:
user1 (ALL)=(ALL) /bin/su user2, (ALL) /bin/su - user2
user1 (ALL)=(ALL) /bin/su [-]* user2
Does anyone know how to get this working?
Thanks!
- 01-11-2008 #2Just Joined!
- Join Date
- Dec 2005
- Posts
- 4
NEVERMIND.
Two hours of work wasted because I didn't verify which /etc/sudoers file I was editing.
FYI,
user1 (ALL)=(ALL)/bin/su user2, /usr/bin/su - user2 --- works great!
- 01-11-2008 #3forum.guy
- Join Date
- May 2004
- Location
- arch linux
- Posts
- 17,785
Sorry you had to provide your own answer, but thanks for reporting back with the solution.
Don't hesitate to post new threads with any other questions.oz
→ new users: read this first
→ no private messages requesting computer support - post them on the forums!


Reply With Quote
