On 12/12/11 12:41 PM, Darin Perusich wrote:

On Mon, Dec 12, 2011 at 3:24 PM, Peter Berghold <salty.cowd...@gmail.com <mailto:salty.cowd...@gmail.com>> wrote:


    Has anybody managed to come up with a class or define that would
    query an LDAP server for a hostgroup and create the home
    directories and apply a skeleton to those directories based on the
    users in the host group?


If you're not using autofs for home directories then you'll want to configure pam_mkhomedir so you're ldap users homedirs are autocreated on first login. It take care of populating from a skel, sets umask, etc.

I have a similar situation - but I need puppet to enforce specific permissions on the home directory itself.
--
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.

--
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