2
0
mirror of https://github.com/sudo-project/sudo.git synced 2025-08-22 09:57:41 +00:00
sudo/sample.sudoers

41 lines
1.3 KiB
Plaintext
Raw Normal View History

1993-11-28 00:25:23 +00:00
#
# Sample /etc/sudoers file. (Assumes SunOS paths)
1993-11-27 23:59:52 +00:00
#
# This file MUST be edited with the 'visudo' command as root.
#
# See the man page for the details on how to write a sudoers file.
#
# Cmnd alias specification
1993-11-28 00:25:23 +00:00
Cmnd_Alias DUMPS=/usr/etc/dump,/usr/etc/rdump,/usr/etc/restore,\
/usr/etc/rrestore,/usr/bin/mt
Cmnd_Alias KILL=/usr/bin/kill
Cmnd_Alias LPC=/usr/etc/lpc,/usr/ucb/lprm
Cmnd_Alias SHUTDOWN=/usr/etc/shutdown
Cmnd_Alias HALT=/usr/etc/halt,/usr/etc/fasthalt
Cmnd_Alias REBOOT=/usr/etc/reboot,/usr/etc/fastboot
Cmnd_Alias SHELLS=/usr/bin/sh,/usr/bin/csh,/usr/bin/ksh,\
/usr/local/bin/tcsh,/usr/ucb/rsh,\
/usr/local/bin/zsh
Cmnd_Alias SU=/usr/bin/su
Cmnd_Alias VIPW=/usr/etc/vipw,/etc/vipw,/bin/passwd
# Host alias specification
Host_Alias SUN4=bruno,eclipse,moet,anchor
Host_Alias SUN3=brazil,columbine
1994-08-15 00:47:48 +00:00
Host_Alias DECSTATION=wilkinson,soma,dendrite,thang
Host_Alias DECALPHA=widget,thalamus,foobar
1993-11-28 00:25:23 +00:00
Host_Alias HPSNAKE=boa,nag,python
1994-08-15 00:47:48 +00:00
Host_Alias CSNETS=128.138.243.0,128.138.204.0,128.138.242.0
1993-11-27 23:59:52 +00:00
# User specification
1993-11-28 00:25:23 +00:00
root ALL=ALL
millert ALL=ALL
barb ALL=ALL
bostley ALL=ALL,!SU,!SHELLS
1994-08-15 00:47:48 +00:00
rodney CSNETS=ALL,!SU,!SHELLS
operator ALL=DUMPS,KILL,LPC,SHUTDOWN,HALT,REBOOT,/usr/oper/
1993-11-28 00:25:23 +00:00
bob SUN4=ALL,!SU,!SHELLS:\
SUN3=ALL,!SU,!SHELLS