/etc/sudoers.d/xymon is in hobbit-plugins 20160122.
This file is owned by root:root, with mode 0o440.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 | # newer kernel versions do not allow lsof to read other users' open files
# /usr/lib/xymon/client/ext/libs uses sudo now
xymon ALL=(root) NOPASSWD: /usr/bin/lsof -n -FpcLfn0
xymon ALL=(root) NOPASSWD: /usr/bin/debsums -ec
xymon ALL=(root) NOPASSWD: /usr/bin/cciss_vol_status -s /dev/cciss/c*d0 /dev/sg*
xymon ALL=(root) NOPASSWD: /usr/sbin/hddtemp
xymon ALL=(root) NOPASSWD: /usr/sbin/smartctl
xymon ALL=(root) NOPASSWD: /usr/bin/nvidia-smi -q -x
xymon ALL=(backuppc) SETENV:NOPASSWD: /usr/lib/xymon/client/ext/backuppc
xymon ALL=(list) SETENV:NOPASSWD: /usr/lib/xymon/client/ext/mailman
|