redhat_centos_making_oddjob-mkhomedir_working
This is an old revision of the document!
Centos/RedHat: Making oddjob-mkhomedir working for services of which authconfig isn't aware:
Example etx service (Exceed Opentext Turbo X server)
# vi /etc/pam.d/etx-mkhomedir.sh
#!/bin/sh dbus-send –system –dest=com.redhat.oddjob_mkhomedir –print-reply / com.redhat.oddjob_mkhomedir.mkhomedirfor string:“$PAM_USER”
# chmod +x /etc/pam.d/etx-mkhomedir.sh
# vi /etc/pam.d/exceed-connection-node auth include system-auth account include system-auth account optional pam_exec.so /etc/pam.d/etx-mkhomedir.sh
enjoy :)
redhat_centos_making_oddjob-mkhomedir_working.1506416774.txt.gz · Last modified: 2017/09/26 09:06 by admin