From 81acb1edcb595a7377a6ad188c65dd23f2702ce9 Mon Sep 17 00:00:00 2001 From: Gerardwx Date: Wed, 5 Feb 2020 14:31:53 -0500 Subject: [PATCH] Suggest using visudo to edit Suggest visudo which allows editing the sudoers file in a safe fashion. Reviewed-by: Brian Behlendorf Signed-off-by: Gerardwx Closes #9918 --- etc/sudoers.d/zfs | 1 + 1 file changed, 1 insertion(+) 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]*