Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ## sudoers file.
- ##
- ## This file MUST be edited with the 'visudo' command as root.
- ## Failure to use 'visudo' may result in syntax or file permission errors
- ## that prevent sudo from running.
- ##
- Cmnd_Alias MODUTILS = /sbin/insmod usb-storage, /sbin/rmmod usb-storage, /sbin/modprobe usb-storage, /sbin/mount, /sbin/umount
- Defaults env_reset
- Defaults editor=/usr/bin/mcedit, !env_editor
- Defaults timestamp_timeout=0,rootpw
- Defaults !secure_path
- Defaults insults
- root ALL=(ALL) ALL
- %users ALL=(ALL) ALL
- %users ALL=NOPASSWD: /sbin/hwclock, /bin/date, /usr/local/sbin/network-restart, /etc/rc.d/rc.networkmanager restart
- %disk ALL=NOPASSWD: MODUTILS
- %powermanager ALL=NOPASSWD: /sbin/shutdown
- ## Read drop-in files from /etc/sudoers.d
- ## (the '#' here does not indicate a comment)
- #includedir /etc/sudoers.d
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement