Re: how to control sftp's user file folder

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



2011/2/28 Yang Yang <dapiyang@xxxxxxxxx>:
> hi,i have a question want to ask
>
> if i add a user like:
>
> useradd test
> groupadd test -g www
>
> and how to control user test only can see and write only folder(like
> /home/htdocs/test,he can not see /home/htdocs or other folder)

for example using chrooted scponly or tweaking filesystem acls and
selinux settings.

scponly chrooted is the easiest way.

--
Eero,
RHCE
_______________________________________________
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