[sudo-users] passwd -l, passwd -u, passwd -S in sudoer

Greg Harrington G.Harrington at darwin.nt.gov.au
Tue Apr 15 00:37:11 EDT 2008


HI i want the users in SYSOPS alias to be able to do 'sudo passwd -l
'someuser' but they get
Sorry, user 'me' is not allowed to execute '/usr/bin/passwd -l
'someuser'' as root on 'ourserver'
this is in our sudoer file.

User_Alias      SYSOPS = 'my user list"

SYSOPS  ALL = /usr/bin/passwd [A-z]*, !/usr/bin/passwd root


My question is, is there some sort of attribute in the line that
contains, /usr/bin/passwd [A-z]*, thatwill allow the sysops users to do
this?




> Cheers
> 
> Greg 
> 

#####################################################################################
Notice:

This transmission is confidential and intended only for the use of the addressee and may contain legally privileged information.

If you are not the addressee:
- Confidentiality and privilege is not waived;
- Please contact us immediately to advise of receipt by you; and
- You are not to read, disseminate, copy or take any action in respect of the contents of this transmission.

The views expressed in this transmission are those of the individual sender, except where the sender specifically states them to be the views of Darwin City Council.

#####################################################################################



More information about the sudo-users mailing list