[sudo-users] /etc/sudoers

Galen Johnson Galen.Johnson at sas.com
Fri Oct 13 16:45:46 EDT 2006


Check the archives...something similar was asked within the last couple of weeks and I believe someone provided a working example...

=G=

-----Original Message-----
From: sudo-users-bounces at courtesan.com on behalf of Irby, Dudley-UCON
Sent: Fri 10/13/2006 3:44 PM
To: sudo-users at sudo.ws
Subject: [sudo-users] /etc/sudoers
 
Hello,

What I am trying to set up in /etc/sudoers, is where an helpdesk person
can reset passwds for application people. The list is long, but I do not
want this person to be able to reset the passwds' for root and the
admen's.

Is there a way to restrict a group ? 

Ex:

ccloyd  ALL=(ALL)       NOPASSWD: /usr/bin/passwd [A-z]*,
!/usr/bin/passwd root

This prohibits changing root passwd, but I did not want to make a line
for all the admins.

Any ideas would be appreciated.

Thank you,

Dudley Irby

____________________________________________________________ 
sudo-users mailing list <sudo-users at sudo.ws>
For list information, options, or to unsubscribe, visit:
http://www.sudo.ws/mailman/listinfo/sudo-users





More information about the sudo-users mailing list