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.
Jason Pyeron wrote:> > 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?Look at pam_mkhomedir and see if it fits your bill. -Ross ______________________________________________________________________ This e-mail, and any attachments thereto, is intended only for use by the addressee(s) named herein and may contain legally privileged and/or confidential information. If you are not the intended recipient of this e-mail, you are hereby notified that any dissemination, distribution or copying of this e-mail, and any attachments thereto, is strictly prohibited. If you have received this e-mail in error, please immediately notify the sender and permanently delete the original and any copy or printout thereof.
On Tue, 2008-04-15 at 10:27 -0400, Jason Pyeron wrote:> 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?>From CLI, use useradd (man useradd) which has a parameter toautomatically set up user's home, including copying /etc/skel.>From an X gnome desktop session (System->Administration->Users andGroups), I can't remember if it's automatic or if it has a checkbox for that. Either case should fix it.> <snip sig stuff>HTH -- Bill
Reasonably Related Threads
- DoD approval of Centos Was RE: Firefox fails to authenticate .mil sites with New DoDCAC
- Sso the Linux way?
- FW: Dell basic Server SR# 898596786 SVTG: 3CJM1P1 <<#2039741-9051508#>>
- VPAT for centos 7 - section 508 compliance statement
- VPAT for centos 7 - section 508 compliancestatement