Date: Mon, 28 May 2001 01:15:29 +0800 From: "Lim Seng Chor" <Lim.Seng.Chor@sit.edu.my> To: Mike Meyer <mwm@mired.org> Cc: questions@freebsd.org, jbiquez@icsmx.com Subject: Re: Advice on ISP services Please. Message-ID: <3B11A3FD.6507.AD6F41D@localhost> In-Reply-To: <15121.3006.596140.24188@guru.mired.org> References: <84326547@toto.iv>
next in thread | previous in thread | raw e-mail | index | archive | help
On 27 May 2001, at 9:14, Mike Meyer wrote: > Lim Seng Chor <Lim.Seng.Chor@sit.edu.my> types: > > On 26 May 2001, at 23:01, Jorge Biquez wrote: > > > > > > > - How to restrict the access of FTP to only the specified > > > directory > > of > > > the user. And that they can not see other users directories. - > > > > try look for chroot'ed ftp (http://ftp.eenet.ee/LDP/HOWTO/mini/FTP- > > 6.html) or play around with file/directory permision (if you know > > how to play with r, w, and x) > > chroot also keeps them out of system directories. You can use group > permissions to keep them out of other users directories by putting > each user in their own group, and making the directory owned by the > group that the public servers run as, mode 750. You can't use > file/directory permissions to shut users out of the rest of the > system. chown -R root.wheel /usr chmod 700 /usr chmod 700 /var chmod 711 /etc chmod 711 / place the necessary binaries (compiled with static library) in /home (not /usr/home), and do chroot..since it is only allow for ftp access. dont know this will work or not. please comment. ---------------------------------------------------------- Lim Seng Chor, Joe MCP,MCP+I,MCSE,MCSE+I,MCDBA,CCNA MIS Senior Executive System/Network Administrator Sepang Institute of Technology Tel: (+603) 33430628 (extension: 270) Fax: (+603) 33430240 ----------------------------------------------------------------------- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3B11A3FD.6507.AD6F41D>