You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi,
I noticed that on Proxmox all users can run zfs commands. Is that also the case for other systems? Are there any reasons to avoid running the commands as an unprivileged user?
If sudo is required, I would also suggest being more restrictive in the suggestions you include in README. Something like this seems to be enough and doesn't grant access to any dangerous zfs commands:
<user> ALL=(ALL) NOPASSWD: /sbin/zfs list
<user> ALL=(ALL) NOPASSWD: /sbin/zpool list <pool>
<user> ALL=(ALL) NOPASSWD: /sbin/zfs get compression <pool>
<user> ALL=(ALL) NOPASSWD: /sbin/zfs get compressratio <pool>
The text was updated successfully, but these errors were encountered:
Hi,
I noticed that on Proxmox all users can run zfs commands. Is that also the case for other systems? Are there any reasons to avoid running the commands as an unprivileged user?
If sudo is required, I would also suggest being more restrictive in the suggestions you include in README. Something like this seems to be enough and doesn't grant access to any dangerous zfs commands:
The text was updated successfully, but these errors were encountered: