[Gllug] User/apache file permissions question

Karanbir Singh mail-lists at karan.org
Tue Jan 9 20:33:45 UTC 2007


Ken Smith wrote:
> - Tethys wrote:
> 
>> On 1/8/07, Ken Smith <kens at kensnet.org> wrote:
>>
>>> I want to give someone access to one of the directories via SCP to
>>> update the content. What is the recognised way of doing this.... without
>>> giving full access to everything....obviously.

FExtras has scponly  : yum install scponly
that allows you to setup user accounts who can only scp into a defined 
chroot, and nothing more.

And if you have selinux running, you also need to define the web docs as 
httpd content with something like this :

chcon -R -u system_u -t httpd_sys_content_t /home/<username>/www/

- KB

-- 
Karanbir Singh : http://www.karan.org/ : 2522219 at icq
-- 
Gllug mailing list  -  Gllug at gllug.org.uk
http://lists.gllug.org.uk/mailman/listinfo/gllug




More information about the GLLUG mailing list