freebsd-src/usr.sbin/adduser
John Grafton 215c0a5158 adduser(8): support creation of ZFS dataset
On systems utilizing ZFS, default to creating a ZFS dataset for a new
user's home directory if the parent directory resides on a ZFS dataset.
Add a flag that disables this behavior if the administrator explicitly
does not want it.

If run during installation from within a chroot, set mountpoint to legacy
after dataset creation and mount directly into the chroot.  Then umount
and reset the mountpoint to inherit from parent.

Also support ZFS default encryption on user's home directory.

Feedback by: delphij
Reviewed by: imp, kevans
Pull Request: https://github.com/freebsd/freebsd-src/pull/881
2024-04-11 12:13:05 -06:00
..
adduser.8 adduser(8): support creation of ZFS dataset 2024-04-11 12:13:05 -06:00
adduser.conf.5 adduser(8): support creation of ZFS dataset 2024-04-11 12:13:05 -06:00
adduser.sh adduser(8): support creation of ZFS dataset 2024-04-11 12:13:05 -06:00
Makefile Remove $FreeBSD$: one-line sh pattern 2023-08-16 11:55:03 -06:00
Makefile.depend Remove $FreeBSD$: one-line sh pattern 2023-08-16 11:55:03 -06:00
rmuser.8 Remove $FreeBSD$: two-line nroff pattern 2023-08-16 11:55:10 -06:00
rmuser.sh Remove $FreeBSD$: one-line sh pattern 2023-08-16 11:55:03 -06:00