[BACK]Return to sample.sudoers CVS log [TXT][DIR] Up to [local] / src / usr.bin / sudo

Diff for /src/usr.bin/sudo/Attic/sample.sudoers between version 1.3 and 1.4

version 1.3, 2004/09/28 15:10:51 version 1.4, 2008/11/14 11:58:08
Line 5 
Line 5 
 #  #
 # See the sudoers man page for the details on how to write a sudoers file.  # See the sudoers man page for the details on how to write a sudoers file.
 #  #
   # $Sudo: sample.sudoers,v 1.29 2008/10/03 19:55:57 millert Exp $
   
 ##  ##
   # Override built-in defaults
   ##
   Defaults                syslog=auth
   Defaults>root           !set_logname
   Defaults:FULLTIMERS     !lecture
   Defaults:millert        !authenticate
   Defaults@SERVERS        log_year, logfile=/var/log/sudo.log
   Defaults!PAGERS         noexec
   
   ##
 # User alias specification  # User alias specification
 ##  ##
 User_Alias      FULLTIMERS = millert, mikef, dowdy  User_Alias      FULLTIMERS = millert, mikef, dowdy
Line 47 
Line 58 
 Cmnd_Alias      SU = /usr/bin/su  Cmnd_Alias      SU = /usr/bin/su
 Cmnd_Alias      VIPW = /usr/sbin/vipw, /usr/bin/passwd, /usr/bin/chsh, \  Cmnd_Alias      VIPW = /usr/sbin/vipw, /usr/bin/passwd, /usr/bin/chsh, \
                        /usr/bin/chfn                         /usr/bin/chfn
   Cmnd_Alias      PAGERS = /usr/bin/more, /usr/bin/pg, /usr/bin/less
   
 ##  ##
 # Override built-in defaults  
 ##  
 Defaults               syslog=auth  
 Defaults>root          !set_logname  
 Defaults:FULLTIMERS    !lecture  
 Defaults:millert       !authenticate  
 Defaults@SERVERS       log_year, logfile=/var/log/sudo.log  
   
 ##  
 # User specification  # User specification
 ##  ##
   
Line 85 
Line 88 
 joe             ALL = /usr/bin/su operator  joe             ALL = /usr/bin/su operator
   
 # pete may change passwords for anyone but root on the hp snakes  # pete may change passwords for anyone but root on the hp snakes
 pete            HPPA = /usr/bin/passwd [A-z]*, !/usr/bin/passwd root  pete            HPPA = /usr/bin/passwd [A-Za-z]*, !/usr/bin/passwd root
   
 # bob may run anything on the sparc and sgi machines as any user  # bob may run anything on the sparc and sgi machines as any user
 # listed in the Runas_Alias "OP" (ie: root and operator)  # listed in the Runas_Alias "OP" (ie: root and operator)

Legend:
Removed from v.1.3  
changed lines
  Added in v.1.4