]> git.proxmox.com Git - mirror_zfs.git/blame - etc/sudoers.d/zfs
Suggest using visudo to edit
[mirror_zfs.git] / etc / sudoers.d / zfs
CommitLineData
099700d9
GDN
1##
2## Allow any user to run `zpool iostat/status -c smart` in order
3## to read basic SMART health statistics for a pool.
4##
5## CAUTION: Any syntax error introduced here will break sudo.
81acb1ed 6## Editing with 'visudo' is recommended: visudo -f /etc/sudoers.d/zfs
099700d9
GDN
7##
8
9# ALL ALL = (root) NOPASSWD: /usr/sbin/smartctl -a /dev/[hsv]d[a-z0-9]*