LDAP and pam_mkhomedir

Nigel Wade nmw at ion.le.ac.uk
Fri Jul 14 14:51:53 UTC 2006


Esquivel, Vicente wrote:
> Hello all,
>  
> I have my linux servers authenicating to my LDAP server and also
> creating home directories via pam_mkhomedir.so.  Anyone one know how I
> can also automatically create mailboxes in /var/spool/mail/$user for
> these users when they login for the first time?
>  
> Vince

Do you need it? That file will normally be created by a mail delivery when the 
user receives mail. If they have no mail the file doesn't exist.

If you really want to create the file, you could send them a welcome mail 
message after you register them.

-- 
Nigel Wade, System Administrator, Space Plasma Physics Group,
             University of Leicester, Leicester, LE1 7RH, UK
E-mail :    nmw at ion.le.ac.uk
Phone :     +44 (0)116 2523548, Fax : +44 (0)116 2523555




More information about the redhat-list mailing list