This is not a CentOs issue or problem. This plain Jane UNIX. $HOME can be anything you want or need it to be. Copy the user's home directory to where you want and make the appropriate changes in the passwd file or automount maps.
-- Thanks,
Gene Brandt SCSA 8625 Carriage Road River Ridge, LA 70123
home 504-737-4295
cell 504-452-3250
Family Web Page | My Web Page | LinkedIn | Facebook | Resumebucket
On Mon, 2011-01-31 at 06:07 +0900, Soo-Hyun Choi wrote:
Hi there,
As you know, $HOME is generally located at "/home/$username" by default.
I would like to re-locate all users' $HOME directories to something like "/export/home/$username" without having a hassle/trouble.
Initially, I've thought of just copying them to the new directory (under /export/home/xxx), but guessed it might trouble for the normal use (I'm pretty new to CentOS, although many experiences with Debian/Ubuntu).
Is there any good tricks (or caveats) when moving users' home directory cleanly with CentOS? (I'm with CentOS 5.5 x86_64)
Cheers, Soo-Hyun
CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos