Files
mirror_zfs/etc/sudoers.d/zfs
T

10 lines
334 B
Plaintext
Raw Normal View History

2017-06-05 13:52:15 -04:00
##
## 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.
2020-02-05 14:31:53 -05:00
## Editing with 'visudo' is recommended: visudo -f /etc/sudoers.d/zfs
2017-06-05 13:52:15 -04:00
##
# ALL ALL = (root) NOPASSWD: /usr/sbin/smartctl -a /dev/[hsv]d[a-z0-9]*