zfs-builds-mm/zfs-2.0.0-rc6/etc/sudoers.d/zfs

10 lines
334 B
Text
Raw Normal View History

2020-11-15 11:35:49 +01: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.
## 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]*