Re: [CentOS] How to relocate $HOME directory

2011-02-01 Thread Daniel J Walsh
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 01/31/2011 01:19 PM, Paul Heinlein wrote: > On Mon, 31 Jan 2011, 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 some

Re: [CentOS] How to relocate $HOME directory

2011-01-31 Thread Robert Nichols
On 01/31/2011 01:32 PM, Cameron Kerr wrote: > On 1/02/2011, at 7:19 AM, Paul Heinlein wrote: > > Lots of good advice snipped > >> 12. Tell your users emphatically that they should use $HOME anywhere >> they're tempted to hardwire their home directory path into a >> script. :-) > > Althou

Re: [CentOS] How to relocate $HOME directory

2011-01-31 Thread Drew
> By the way, I'd suggest not using the name /export.  It gets used > in too many places to mean specific things and it could get confusing > some time later.  Pick some other name. My personal preference is to use a subdirectory under /srv, say /srv/nfs/home. Keeps it out of the rest of the tree

Re: [CentOS] How to relocate $HOME directory

2011-01-31 Thread Cameron Kerr
On 1/02/2011, at 7:19 AM, Paul Heinlein wrote: Lots of good advice snipped > 12. Tell your users emphatically that they should use $HOME anywhere > they're tempted to hardwire their home directory path into a > script. :-) Although this is still painful for any users who might have com

Re: [CentOS] How to relocate $HOME directory

2011-01-31 Thread Paul Heinlein
On Mon, 31 Jan 2011, 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 o

Re: [CentOS] How to relocate $HOME directory

2011-01-31 Thread Jerry McAllister
On Mon, Jan 31, 2011 at 06:07:27AM +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. > > In

Re: [CentOS] How to relocate $HOME directory

2011-01-31 Thread Les Mikesell
On 1/31/11 2:34 AM, Kenneth Porter wrote: > --On Monday, January 31, 2011 12:55 AM -0500 Nico Kadel-Garcia > wrote: > >> This tends to break symlinks and hard-coded script locations. In >> particular, Samba and Apache make some assumptions about where home >> directories live that you might want

Re: [CentOS] How to relocate $HOME directory

2011-01-31 Thread Rudi Ahlers
On Mon, Jan 31, 2011 at 8:22 AM, Tom H wrote: > On Mon, Jan 31, 2011 at 12:18 AM, Rudi Ahlers wrote: >> On Sun, Jan 30, 2011 at 11:07 PM, Soo-Hyun Choi >> wrote: >>> >>> As you know, $HOME is generally located at "/home/$username" by default. >>> >>> I would like to re-locate all users' $HOME d

Re: [CentOS] How to relocate $HOME directory

2011-01-31 Thread John R Pierce
On 01/31/11 12:34 AM, Kenneth Porter wrote: > --On Monday, January 31, 2011 12:55 AM -0500 Nico Kadel-Garcia > wrote: > >> This tends to break symlinks and hard-coded script locations. In >> particular, Samba and Apache make some assumptions about where home >> directories live that you might wan

Re: [CentOS] How to relocate $HOME directory

2011-01-31 Thread Kenneth Porter
--On Monday, January 31, 2011 12:55 AM -0500 Nico Kadel-Garcia wrote: > This tends to break symlinks and hard-coded script locations. In > particular, Samba and Apache make some assumptions about where home > directories live that you might want to resolve if you enable homedir > access for or p

Re: [CentOS] How to relocate $HOME directory

2011-01-30 Thread Tom H
On Mon, Jan 31, 2011 at 12:18 AM, Rudi Ahlers wrote: > On Sun, Jan 30, 2011 at 11:07 PM, Soo-Hyun Choi wrote: >> >> 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" w

Re: [CentOS] How to relocate $HOME directory

2011-01-30 Thread Nico Kadel-Garcia
On Mon, Jan 31, 2011 at 12:18 AM, Rudi Ahlers wrote: > On Sun, Jan 30, 2011 at 11:07 PM, 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

Re: [CentOS] How to relocate $HOME directory

2011-01-30 Thread Rudi Ahlers
On Sun, Jan 30, 2011 at 11:07 PM, 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'

Re: [CentOS] How to relocate $HOME directory

2011-01-30 Thread Keith Keller
On Mon, Jan 31, 2011 at 06:58:36AM +0900, Soo-Hyun Choi wrote: > > Well, yes and no. In case of Debian/Ubuntu, we need to modify apparmor > settings (e.g., by changing "etc/apparmor.d/tunables/home" information) > to get it right apart from just copying them and changing passwd file. > > I wonder

Re: [CentOS] How to relocate $HOME directory

2011-01-30 Thread Soo-Hyun Choi
Hi, > 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. > Well, yes and no. In case of Debian/Ubuntu, we need

Re: [CentOS] How to relocate $HOME directory

2011-01-30 Thread Gene Brandt
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 70