zfs-builds-mm/zfs-2.0.0-rc4/etc/sudoers.d/zfs
2020-10-22 14:20:35 +02:00

9 lines
334 B
Text

##
## Allow any user to run `zpool iostat/status -c smart` in order
## to read basic SMART health statistics for a pool.
##
## CAUTION: Any syntax error introduced here will break sudo.
## Editing with 'visudo' is recommended: visudo -f /etc/sudoers.d/zfs
##
# ALL ALL = (root) NOPASSWD: /usr/sbin/smartctl -a /dev/[hsv]d[a-z0-9]*