I have a suggestion on modifying useradd(1M) and am not sure where to
input it.

Since individual ZFS file systems often make it easy to manage things,
would it be possible to modify useradd(1M) so that if the 'base_dir' is in
a zpool, a new dataset is created for the user's homedir?

So if you specify "-m", a regular directory is created, but if you specify
(say) "-z", a new dataset is created. Usermod(1M) would also probably have
this option.


GNU / Linux already as a "-Z" (capital-zed) option AFAICT:

       -Z, --selinux-user SEUSER
           The SELinux user for the userĀ“s login. The default is
           to leave this field blank, which causes the system to
           select the default SELinux user.


_______________________________________________
zfs-discuss mailing list
zfs-discuss@opensolaris.org
http://mail.opensolaris.org/mailman/listinfo/zfs-discuss

Reply via email to