Grant Parnell said: > On Wed, 17 Mar 2004, Simon Bryan wrote: > >> Hi all, >> I have this line in my pam.d/login file: >> >> session required /lib/security/pam_mkhomedir.so skel=/etc/skel >> >> while this creates the user directory nicely, it creates new copies of the dot >> files >> rather than copying the ones from /etc/skel. Is there anyway I can force it to >> copy >> the ones in /etc/skel? This would remove the need for my users (school students >> who >> only know Windows) from having to setup their proxy settings abd Open Office >> settings. > > Umm... normally when you run useradd it COPIES from /etc/skel so I'm > thinking this should be what happens ... especially since it's mentioned > in your pam line. Maybe it's got a permissions problem (strange for root > though). Just a thought... is /home NFS/SMB mounted or something like > that?
Copies everything except the dot files - which it seems to rebuild, if once the user is created I manually copy the dot files .gnome, .gnome2 etc and reset permissions the user gets the settings I want. I may need to play with the umask setting but am having trouble finding a reference for it. -- Simon Bryan IT Manager OLMC Parramatta -- SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/ Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html