On Wed, Jun 10, 2009 at 12:08 PM, paul matthews <
paulsmatth...@googlemail.com> wrote:

> An alternate, non Puppet method is to add a pam_mkhomedir module to
> /etc/pam.d/system-auth   (on a RedHat machine at least) by including the
> following line:-
>
> session     required      /lib/security/$ISA/pam_mkhomedir.so
> skel=/etc/skel umask=0022
>
> This has the effect of creating a homedir if one does not exist and pulling
> in the contents of /etc/skel
>
> Cheers
> Paul
>
> That's what I did for our linux machines.  They all authenticate with ldap,
and when somebody logs into a machine for the first time, it will create the
home dir.  Very easy solution.

-lsd

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Puppet Users" group.
To post to this group, send email to puppet-users@googlegroups.com
To unsubscribe from this group, send email to 
puppet-users+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/puppet-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to