forked from drduh/config
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsudoers
10 lines (7 loc) · 1.17 KB
/
sudoers
1
2
3
4
5
6
7
8
9
10
Defaults env_reset
Defaults secure_path="/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin"
root ALL=(ALL:ALL) ALL
sysadm ALL=(ALL:ALL) ALL
Cmnd_Alias NP = /bin/dmesg, /bin/mount /dev/*, /bin/umount /mnt/*, /sbin/cryptsetup luksClose /dev/mapper/*, /sbin/cryptsetup luksOpen /dev/sd*, /sbin/dhclient en*, /sbin/dhclient wl*, /sbin/fdisk -l, /sbin/ip route add default via 192.168.1.1 dev wlp2s0, /sbin/wpa_supplicant -Dnl80211 -iwlp2s0 -cwpa.conf, /usr/bin/apt-get autoclean, /usr/bin/apt-get autoremove, /usr/bin/apt-get dist-upgrade, /usr/bin/apt-get update, /usr/bin/apt-get upgrade, /usr/bin/jmtpfs /mnt/usb, /usr/bin/lsof -Pni, /usr/bin/minicom -D /dev/ttyUSB0, /usr/bin/screen /dev/ttyUSB0 115200 8n1, /usr/bin/tail -f /var/log/dnsmasq, /usr/bin/tail -f /var/log/privoxy/logfile, /usr/bin/tee /sys/class/backlight/intel_backlight/brightness, /usr/local/bin/hostapd /etc/hostapd.conf, /usr/sbin/ntpdate -uv *, /usr/sbin/openvpn --config client.ovpn, /usr/sbin/service dnsmasq restart, /usr/sbin/service networking restart, /usr/sbin/service privoxy restart, /usr/sbin/service rng-tools restart
#sysadm ALL=(ALL) NOPASSWD:ALL
sysadm ALL=(ALL) NOPASSWD:NP