||1 day ago|
|README.md||3 days ago|
|addnewuser||1 day ago|
|config.example.toml||1 day ago|
|go.mod||1 day ago|
|go.sum||1 day ago|
|main.go||1 day ago|
This is a interactive cli Go program to add a new user to FreeBSD. It assumes you already have a working zfs setup and want to create a new dataset for each new user. It uses zfs quotas to limit each user to a certain size.
The script now asks for a user password. If you intend to allow users to mount zfs datasets in their home directory without superuser permissions, you must set
This has not been tested extensively, so please do your own testing if you choose to rely on it for important stuff.