Hi Folks
I am trying to implement automatic creation of Home directory's when a new user logs in using the pam_mkhomedir.so module.
I managed to download the binary pam_mkhomedir.so from
Dr. Jochen Keutel - pam_mkhomedir for Solaris and copied it into /usr/lib/security.
I added the following entry in /etc/pam.conf :
other session required pam_mkhomedir.so skel=/etc/skel umask=0022
But i am unable to login and find the following error in /var/adm/messages:
load_modules:can not open module /usr/lib/security/pam_mkhomedir.so
open_module:/usr/lib/security/pam_mkhomedir.so failed:ld.so.1:sshd:fatal wrong elfdata format:elfdata2msb
The pam_mkhomedir is owned by root:bin. It has executable rights.
How do i make this work?
Note - I have downloaded the binary staright from the site. I haven't done any compile.