Re: nis and new users

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



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 to
automatically set up user's home, including copying /etc/skel.

>From an X gnome desktop session (System->Administration->Users and
Groups), 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

_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
http://lists.centos.org/mailman/listinfo/centos

[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux