Re: How to relocate $HOME directory

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



On 01/31/11 12:34 AM, Kenneth Porter wrote:
> --On Monday, January 31, 2011 12:55 AM -0500 Nico Kadel-Garcia
> <nkadel@xxxxxxxxx>  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 public_html access for those tools.
> I'd be surprised if such well-written packages didn't simply use the value
> from /etc/passwd (acquired by the appropriate API, such as getpwent(3)).
> Remember also that Samba and Apache are written to be used on other than
> Linux, and other OS's might not keep their home directories in the same
> place.
>

apache itself has no clue and doesn't look at /etc/passwd or any other 
such.   instead,   /home/*/public_html is specified in the  httpd.conf 
files, if that feature is enabled.


> As Tom H points out, the big issue is to set the selinux attributes of home
> directories not in the more common location.

yeah,t hat will bite you


_______________________________________________
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