From owner-freebsd-questions Sun May 27 10: 1:14 2001 Delivered-To: freebsd-questions@freebsd.org Received: from saturn.sit.edu.my (saturn.sit.edu.my [202.184.64.24]) by hub.freebsd.org (Postfix) with ESMTP id BFFAA37B423 for ; Sun, 27 May 2001 10:01:09 -0700 (PDT) (envelope-from Lim.Seng.Chor@sit.edu.my) Received: from LION (pmail.sit.edu.my [202.184.64.6]) by saturn.sit.edu.my (8.11.3/8.11.3) with ESMTP id f4RH6v521662; Mon, 28 May 2001 01:06:59 +0800 Received: from LION/SpoolDir by LION (Mercury 1.47); 28 May 01 01:15:38 +0800 Received: from SpoolDir by LION (Mercury 1.47); 28 May 01 01:15:36 +0800 From: "Lim Seng Chor" Organization: Sepang Institute of Technology To: Mike Meyer Date: Mon, 28 May 2001 01:15:29 +0800 MIME-Version: 1.0 Content-type: text/plain; charset=US-ASCII Content-transfer-encoding: 7BIT Subject: Re: Advice on ISP services Please. Cc: questions@freebsd.org, jbiquez@icsmx.com Message-ID: <3B11A3FD.6507.AD6F41D@localhost> In-reply-to: <15121.3006.596140.24188@guru.mired.org> References: <84326547@toto.iv> X-mailer: Pegasus Mail for Win32 (v3.12c) Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On 27 May 2001, at 9:14, Mike Meyer wrote: > Lim Seng Chor 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