[CentOS] nis and new users

Tue Apr 15 14:27:20 UTC 2008
Jason Pyeron <jpyeron at pdinc.us>

Every time a "new" user logs into a development box (which does not use nfs
for the home dirs) the get could not chdir to their home dir. They call me
with the error and I do a:

cp -a /etc/skel/ ~USER && chown USER.users -R ~USER/

and it is fixed.

Is there an automated way?

-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
-                                                               -
- Jason Pyeron                      PD Inc. http://www.pdinc.us -
- Principal Consultant              10 West 24th Street #100    -
- +1 (443) 269-1555 x333            Baltimore, Maryland 21218   -
-                                                               -
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
 
This message is for the designated recipient only and may contain
privileged, proprietary, or otherwise private information. If you
have received it in error, purge the message from your system and
notify the sender immediately.  Any other use of the email by you
is prohibited.