Dr. Jochen Keutel Unternehmensberatung

pam_mkhomedir for Solaris

Several login scenarios on Unix/Linux have the problem that the home directory of an user doesn't exist when he logs in the first time. Examples are the use of NIS-LDAP and/or PAM-LDAP. A nice solution for this problem is the use of the module pam_mkhomedir. It's part of the Linux-PAM (see e.g. http://www.kernel.org/pub/linux/libs/pam/ or http://sourceforge.net/projects/pam/) and does exactly what you expect it to do: It creates home directories (using skeleton definitions (/etc/skel)).
The current version of PAM is 0.80. The problem of former versions (0.77, 0.78) that pam_mkhomedir.c didn't compile on Solaris are gone: You can compile it "as is".

Compilation:

This seems to work; use it at your own risk.
Binaries for Solaris 8 (should work for 9 and 10 as well):
Dr. Jochen Keutel
Unternehmensberatung
Wusterhausener Str. 8
15732 Eichwalde
e-mail: jochen@keutel.de
Telefon: (030) 678 19189
Mobil: (0177) 6572720
Fax: (0721) 151 25 69 38

Valid HTML 4.01! Valid CSS!

Last update: 9th August, 2005