Harry Weppner
Cadet
- Joined
- Oct 3, 2014
- Messages
- 5
Hi there,
my goal is to authenticate users via ldap and create a separate ZFS dataset per user. Someone had asked this general question on serverfault and one approach outlined there was to use pam_exec.so in combination with a shell script to create a ZFS dataset on-demand.
Sounds feasible and I was wondering if anyone has already accomplished this on a FreeNAS system? What is the best option to extend /etc/pam.d/sshd ? Are there perhaps even simpler options that I've overlooked?
Thanks & cheerio, Harry.
my goal is to authenticate users via ldap and create a separate ZFS dataset per user. Someone had asked this general question on serverfault and one approach outlined there was to use pam_exec.so in combination with a shell script to create a ZFS dataset on-demand.
Sounds feasible and I was wondering if anyone has already accomplished this on a FreeNAS system? What is the best option to extend /etc/pam.d/sshd ? Are there perhaps even simpler options that I've overlooked?
Thanks & cheerio, Harry.