886e4c966e
With the merge of spl and zfs the extra level of directories is not needed anymore. Signed-off-by: Stoiko Ivanov <s.ivanov@proxmox.com>
19 lines
666 B
Plaintext
19 lines
666 B
Plaintext
## 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 *, \
|
|
# /sbin/zfs list, /sbin/zfs list *, \
|
|
# /sbin/zpool "", /sbin/zpool help *, \
|
|
# /sbin/zpool iostat, /sbin/zpool iostat *, \
|
|
# /sbin/zpool list, /sbin/zpool list *, \
|
|
# /sbin/zpool status, /sbin/zpool status *, \
|
|
# /sbin/zpool upgrade, /sbin/zpool upgrade -v
|
|
#
|
|
## allow any user to use basic read-only ZFS commands
|
|
#ALL ALL = (root) NOPASSWD: C_ZFS
|