Re: How to relocate $HOME directory

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



On 1/31/11 2: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.
>
> As Tom H points out, the big issue is to set the selinux attributes of home
> directories not in the more common location.

There's also a template somewhere for 'adduser' and equivalents to use as the 
default location when new users are added.

-- 
   Les Mikesell
    lesmikesell@xxxxxxxxx
_______________________________________________
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