Suggest using visudo to edit
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
This commit is contained in:
parent
cbd8f5b759
commit
81acb1edcb
|
@ -3,6 +3,7 @@
|
|||
## 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]*
|
||||
|
|
Loading…
Reference in New Issue