User Tools

Site Tools


redhat_centos_making_oddjob-mkhomedir_working

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
redhat_centos_making_oddjob-mkhomedir_working [2017/09/26 09:06] – created adminredhat_centos_making_oddjob-mkhomedir_working [2017/09/26 09:07] (current) admin
Line 1: Line 1:
-Centos/RedHat: Making oddjob-mkhomedir working for services of which authconfig isn't aware:+Centos/RedHat: Making oddjob-mkhomedir work for services of which authconfig isn't aware:
  
 Example etx service (Exceed Opentext Turbo X server) Example etx service (Exceed Opentext Turbo X server)
Line 5: Line 5:
 # vi /etc/pam.d/etx-mkhomedir.sh # vi /etc/pam.d/etx-mkhomedir.sh
  
 +<code>
 #!/bin/sh #!/bin/sh
 dbus-send --system --dest=com.redhat.oddjob_mkhomedir --print-reply / com.redhat.oddjob_mkhomedir.mkhomedirfor string:"$PAM_USER" dbus-send --system --dest=com.redhat.oddjob_mkhomedir --print-reply / com.redhat.oddjob_mkhomedir.mkhomedirfor string:"$PAM_USER"
 +</code>
  
 # chmod +x /etc/pam.d/etx-mkhomedir.sh # chmod +x /etc/pam.d/etx-mkhomedir.sh
 +
  
 # vi /etc/pam.d/exceed-connection-node # vi /etc/pam.d/exceed-connection-node
 +
 +<code>
 auth include  system-auth auth include  system-auth
 account include  system-auth account include  system-auth
 account optional pam_exec.so /etc/pam.d/etx-mkhomedir.sh account optional pam_exec.so /etc/pam.d/etx-mkhomedir.sh
 +</code>
  
 enjoy :) enjoy :)
redhat_centos_making_oddjob-mkhomedir_working.1506416774.txt.gz · Last modified: 2017/09/26 09:06 by admin