aboutsummaryrefslogtreecommitdiffstats
path: root/etc/sudoers.d/zfs
blob: f66ebad21603e340586e3c29d77d51c4e9480f50 (plain)
1
2
3
4
5
6
7
8
##
## 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.
##

# ALL ALL = (root) NOPASSWD: /usr/sbin/smartctl -a /dev/[hsv]d[a-z0-9]*