[Pkg-zfsonlinux-devel] [PATCH 2/4] Simplify the sudoers example
Richard Laager
rlaager at wiktel.com
Sun Sep 15 07:18:25 UTC 2013
---
debian/examples/zfsutils/etc/sudoers.d/zfs | 8 +-------
1 file changed, 1 insertion(+), 7 deletions(-)
diff --git a/debian/examples/zfsutils/etc/sudoers.d/zfs b/debian/examples/zfsutils/etc/sudoers.d/zfs
index d5a5d46..24dd8e7 100644
--- a/debian/examples/zfsutils/etc/sudoers.d/zfs
+++ b/debian/examples/zfsutils/etc/sudoers.d/zfs
@@ -1,9 +1,6 @@
## Allow read-only ZoL commands to be called through sudo
## without a password. Remove the first '#' column to enable.
##
-## CAUTION: Any syntax error introduced here will break sudo.
-##
-## Cmnd alias specification
#Cmnd_Alias C_ZFS = \
# /sbin/zfs "", /sbin/zfs help *, \
# /sbin/zfs get, /sbin/zfs get *, \
@@ -14,7 +11,4 @@
# /sbin/zpool status, /sbin/zpool status *, \
# /sbin/zpool upgrade, /sbin/zpool upgrade -v
#
-#Runas_Alias R_ROOT = root
-#
-## allow any user to use basic read-only ZFS commands
-#ALL ALL = (R_ROOT) NOPASSWD: C_ZFS
+#ALL ALL = root NOPASSWD: C_ZFS
--
1.7.9.5
More information about the Pkg-zfsonlinux-devel
mailing list