source: server/fedora/config/etc/sudoers @ 484

Last change on this file since 484 was 205, checked in by presbrey, 16 years ago
sudoers file: do not require tty
File size: 1.2 KB
Line 
1Cmnd_Alias NETWORKING = /sbin/route, /sbin/ifconfig, /bin/ping, /sbin/dhclient, /usr/bin/net, /sbin/iptables, /usr/bin/rfcomm, /usr/bin/wvdial, /sbin/iwconfig, /sbin/mii-tool
2Cmnd_Alias SOFTWARE = /bin/rpm, /usr/bin/up2date, /usr/bin/yum
3Cmnd_Alias SERVICES = /sbin/service, /sbin/chkconfig
4Cmnd_Alias LOCATE = /usr/sbin/updatedb
5Cmnd_Alias STORAGE = /sbin/fdisk, /sbin/sfdisk, /sbin/parted, /sbin/partprobe, /bin/mount, /bin/umount
6Cmnd_Alias DELEGATING = /usr/sbin/visudo, /bin/chown, /bin/chmod, /bin/chgrp
7Cmnd_Alias PROCESSES = /bin/nice, /bin/kill, /usr/bin/kill, /usr/bin/killall
8Cmnd_Alias DRIVERS = /sbin/modprobe
9
10#Defaults    requiretty
11
12Defaults    env_reset
13Defaults    env_keep = "COLORS DISPLAY HOSTNAME HISTSIZE INPUTRC KDEDIR \
14                        LS_COLORS MAIL PS1 PS2 QTDIR USERNAME \
15                        LANG LC_ADDRESS LC_CTYPE LC_COLLATE LC_IDENTIFICATION \
16                        LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC \
17                        LC_PAPER LC_TELEPHONE LC_TIME LC_ALL LANGUAGE LINGUAS \
18                        _XKB_CHARSET XAUTHORITY"
19
20root    ALL=(ALL)       ALL
21
22signup  ALL=(root) NOPASSWD: /usr/sbin/useradd
23signup  ALL=(root) NOPASSWD: /usr/sbin/groupadd
24signup  ALL=(root) NOPASSWD: /usr/sbin/setquota
Note: See TracBrowser for help on using the repository browser.