]> git.proxmox.com Git - mirror_zfs-debian.git/commit
Add /etc/sudoers.d/zfs file.
authorDarik Horn <dajhorn@vanadac.com>
Sat, 2 Jun 2012 02:44:25 +0000 (21:44 -0500)
committerDarik Horn <dajhorn@vanadac.com>
Sat, 2 Jun 2012 02:44:25 +0000 (21:44 -0500)
commit1080b6eab180b07c0165957d222e6df263f5f596
tree092625ca0fb3a55f7292107a179b756c6714105d
parentbdb148a91ee7ae72032e67f02ac9c7d8cb3ed140
Add /etc/sudoers.d/zfs file.

Add Kate's sudoers part for ZoL, but disabled by default.

This file is tracked by dpkg as a configuration file if it is changed
by the administrator after installation. The installation mode can be
converted to a dpkg question sometime later.

https://groups.google.com/a/zfsonlinux.org/group/zfs-discuss/msg/7b4f30b2563898b2

  From: Kate Ward
  Date: Thu, 17 May 2012 00:20:05 +0100
  Local: Wed, May 16 2012 6:20 pm
  Subject: Re: [zfs-discuss] Re: Unable to open /dev/zfs: Permission denied.

  Rather than allow all ZFS commands to be executed without a password with
  sudo, I limit passwordless use to read-only commands with the following in
  my /etc/sudoers file. I have less fear of accidentally doing something
  willy nilly.
debian/tree/zfsutils/etc/sudoers.d/zfs [new file with mode: 0644]