#zfs #dataset #encryption #pool #control #sudo #permissions

sam-zfs-unlocker

A simple library for controlling encrypted ZFS pool datasets

8 releases

0.1.7 Aug 31, 2024
0.1.6 Aug 20, 2024

#727 in Filesystem

Download history 366/week @ 2024-08-10 297/week @ 2024-08-17 11/week @ 2024-08-24 188/week @ 2024-08-31 4/week @ 2024-09-07 23/week @ 2024-09-14 13/week @ 2024-09-21 26/week @ 2024-09-28 4/week @ 2024-10-05 1/week @ 2024-10-12

435 downloads per month

MIT license

30KB
602 lines

Sam-ZFS-unlocker

This is a simple library that has some functions to lock/unlock datasets in your machine. This isn't intended to be run or even compiled as root.

Usage with sudo

The way to use this is by creating a special user and granting them special sudo permissions to run the given commands. The functions that require visudo to be edited for the given user are specified in the documentation of every function. A subset of those are "mount", "unmount", "load-key" and "unload-key". More may be added.

Dependencies

~245–700KB
~16K SLoC