mirror of
https://git.proxmox.com/git/mirror_zfs.git
synced 2024-12-26 03:09:34 +03:00
81acb1edcb
Suggest visudo which allows editing the sudoers file in a safe fashion. Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov> Signed-off-by: Gerardwx <gerardw@alum.mit.edu> Closes #9918
10 lines
334 B
Plaintext
10 lines
334 B
Plaintext
##
|
|
## 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]*
|