projects
/
debian
/
sudo
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge commit 'upstream/1.7.4p4'
[debian/sudo]
/
sample.sudoers
diff --git
a/sample.sudoers
b/sample.sudoers
index 06823019b23585cb609ea3e506d5845245e39446..0ef1579ecce6eb8c8b2f23a825a4f6db92a95898 100644
(file)
--- a/
sample.sudoers
+++ b/
sample.sudoers
@@
-4,7
+4,16
@@
# This file MUST be edited with the 'visudo' command as root.
#
# See the sudoers man page for the details on how to write a sudoers file.
# This file MUST be edited with the 'visudo' command as root.
#
# See the sudoers man page for the details on how to write a sudoers file.
-#
+
+##
+# 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
@@
-47,15
+56,7
@@
Cmnd_Alias SHELLS = /sbin/sh, /usr/bin/sh, /usr/bin/csh, /usr/bin/ksh, \
Cmnd_Alias SU = /usr/bin/su
Cmnd_Alias VIPW = /usr/sbin/vipw, /usr/bin/passwd, /usr/bin/chsh, \
/usr/bin/chfn
Cmnd_Alias SU = /usr/bin/su
Cmnd_Alias VIPW = /usr/sbin/vipw, /usr/bin/passwd, /usr/bin/chsh, \
/usr/bin/chfn
-
-##
-# 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
+Cmnd_Alias PAGERS = /usr/bin/more, /usr/bin/pg, /usr/bin/less
##
# User specification
##
# User specification
@@
-85,7
+86,7
@@
operator ALL = DUMPS, KILL, SHUTDOWN, HALT, REBOOT, PRINTING,\
joe ALL = /usr/bin/su operator
# pete may change passwords for anyone but root on the hp snakes
joe ALL = /usr/bin/su operator
# 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
# listed in the Runas_Alias "OP" (ie: root and operator)
# bob may run anything on the sparc and sgi machines as any user
# listed in the Runas_Alias "OP" (ie: root and operator)