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) thanks very much -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.centos.org/pipermail/centos/attachments/20110228/70340283/attachment.html>
2011/2/28 Yang Yang <dapiyang at gmail.com>:> 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