summaryrefslogtreecommitdiffstats
path: root/etc
diff options
context:
space:
mode:
authorGerardwx <[email protected]>2020-02-05 14:31:53 -0500
committerGitHub <[email protected]>2020-02-05 11:31:53 -0800
commit81acb1edcb595a7377a6ad188c65dd23f2702ce9 (patch)
treed10824fddca5d5aa952cc80113ac7d020da12035 /etc
parentcbd8f5b759a7903a04aa38d858bb36f5dac19cb5 (diff)
Suggest using visudo to edit
Suggest visudo which allows editing the sudoers file in a safe fashion. Reviewed-by: Brian Behlendorf <[email protected]> Signed-off-by: Gerardwx <[email protected]> Closes #9918
Diffstat (limited to 'etc')
-rw-r--r--etc/sudoers.d/zfs1
1 files changed, 1 insertions, 0 deletions
diff --git a/etc/sudoers.d/zfs b/etc/sudoers.d/zfs
index f66ebad21..82a25ba81 100644
--- a/etc/sudoers.d/zfs
+++ b/etc/sudoers.d/zfs
@@ -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]*