On 02/24/2016 11:39 AM, Patrice Peterson wrote:
is there a way to have SSSD do additional work when creating a home
directory? I am using it in a HPC cluster context and I need to create a
user account in the batch system's database. I had a look at what
oddjobd could do, but from what I could tell, the PAM stack calls
oddjob's com.redhat.oddjob_mkhomedir method over D-Bus.
Apologies if this is the wrong place to ask this question, but I
couldn't quite tell where else to post it.
It calls the oddjob mkhomedirfor method, which in:
is defined to run /usr/libexec/oddjob/mkhomedir:
I don't see much docs for that binary, but you could change that to be a
wrapper that did what you wanted.
is the upstream project, but
there isn't much there.
Technical Manager 303-415-9701 x222
NWRA, Boulder/CoRA Office FAX: 303-415-9702
3380 Mitchell Lane orion(a)nwra.com
Boulder, CO 80301 http://www.nwra.com