This is the old XigmaNAS forum in read only mode,
it will taken offline by the end of march 2021!



I like to aks Users and Admins to rewrite/take over important post from here into the new fresh main forum!
Its not possible for us to export from here and import it to the main forum!

Create new ZFS filesystem for every user

Post/Debate your Suggestions & Requests of XigmaNAS here. This ONLY pertains to XigmaNAS.
Forum rules
Set-Up GuideFAQsForum Rules
Post Reply
mvendelin
NewUser
NewUser
Posts: 1
Joined: 01 Jul 2013 13:50
Status: Offline

Create new ZFS filesystem for every user

Post by mvendelin »

At present, a new homedir is made for users on logon if its missing using pam_mkhomedir . I wonder, if its possible to create new filesystem for every user, as suggested in 'Best Practices' [ http://www.solarisinternals.com/wiki/in ... _Practices ]? Possible solution includes replacement of pam_mkhomedir by pam_exec and a custom script, as suggested in http://serverfault.com/questions/272970 ... -mkhomedir . Is it possible to implement this in NAS4Free?

I am new to NAS4Free and maybe I missed some option that would allow to do it. In addition, it is possible to embed custom scripts into configuration and have them available in the system? For example, writing my own script, running it by cron, and having it if needed for new server with other configuration options? As for replacement of pam_mkhomedi, I guess I could change /etc/pam.d/sshd -> /var/etc/pam.d/sshd by sed on every boot, but it would be nicer to have a 'clean' solution.

Best,

Marko

Post Reply

Return to “Suggestions & Requests”