NetBSD-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: `zfs allow` on NetBSD - what other perms for mounting FS created with `zfs create`?



On 4/21/26 18:06, Jeff Rizzo wrote:
I'm currently playing around with delegating certain actions to ordinary users


What if you just install/use `security/doas`.


Something like `permit nopass riz as root cmd /sbin/zfs` in doas.conf should work, I believe.

User riz will be able to run `doas zfs` as root, but no other commands. Unless you allow other commands in doas.conf

Then, an alias like `zfs="doas zfs"` makes the typing even easier.


vsis <vsis@vsis.online>


Home | Main Index | Thread Index | Old Index