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