From owner-freebsd-questions@FreeBSD.ORG Tue May 30 01:33:33 2006 Return-Path: X-Original-To: questions@freebsd.org Delivered-To: freebsd-questions@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 0052116A475 for ; Tue, 30 May 2006 01:33:32 +0000 (UTC) (envelope-from gil@asol.com.ph) Received: from mail.asol.com.ph (mx1.asol.com.ph [203.190.72.164]) by mx1.FreeBSD.org (Postfix) with SMTP id CADC043D48 for ; Tue, 30 May 2006 01:33:31 +0000 (GMT) (envelope-from gil@asol.com.ph) Received: (qmail 19995 invoked by uid 1010); 30 May 2006 01:25:34 -0000 Received: from 203.208.25.30 by mail.asol.com.ph (envelope-from , uid 1008) with qmail-scanner-1.25-st-qms (clamdscan: 0.88/1356. spamassassin: 3.1.1. perlscan: 1.25-st-qms. Clear:RC:0(203.208.25.30):SA:0(-2.5/5.0):. Processed in 5.717949 secs); 30 May 2006 01:25:34 -0000 X-Spam-Status: No, hits=-2.5 required=5.0 X-Antivirus-ASPI-Mail-From: gil@asol.com.ph via mail.asol.com.ph X-Antivirus-ASPI: 1.25-st-qms (Clear:RC:0(203.208.25.30):SA:0(-2.5/5.0):. Processed in 5.717949 secs Process 19943) Received: from unknown (HELO loui) (gil@asol.com.ph@203.208.25.30) by mail.asol.com.ph with SMTP; 30 May 2006 01:25:28 -0000 Message-ID: <016a01c68389$0a99fd20$5ac8a8c0@loui> From: "GiL A. Virtucio" To: "Marwan Sultan" References: Date: Tue, 30 May 2006 09:33:19 +0800 MIME-Version: 1.0 Content-Type: text/plain; format=flowed; charset="iso-8859-1"; reply-type=response Content-Transfer-Encoding: 8bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2900.2869 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2869 Cc: questions@freebsd.org Subject: Re: User Access restriction. X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 30 May 2006 01:33:34 -0000 to restrict users from navigating outside their home directories through FTP try using an FTP server that support chrooting. you might want to check proftpd. http://www.proftpd.org/ it is also included in the ports collection. hope this helps :) ================================= Gil A. Virtucio Janitor/Kolektor/Messenger/Driver Asia Solution Phillippines Inc. 28/F Antel Global Corporate Center 3 Doņa Julia Vargas Avenue, Ortigas Center, Pasig Office # : +63-2-687-0692 loc. 103 Mobile # : +63-916-3989695 http://www.gihl.eu.org/ ================================= ----- Original Message ----- From: "Marwan Sultan" To: Sent: Tuesday, May 30, 2006 5:15 AM Subject: User Access restriction. > Hello Everyone, > > I have a server Up and running, 4.8-R, (well why 4.8? its up since years) > However, this server is for commercial use, recently, we started Home > pages hosting, > which requier me to give the user access to the shell, > > Well, the question, > > Lets say, I have 2 groups, Group1, Group2 > under Groupe1 is the webpages shell accounts (user accounts) > and group2, just shell users, > > If user1 from Group1 will ftp or ssh to the box, his default home path > will be > /home/group1/user1 > But, he still can navigate thro his FTP or ssh to see the directories and > read files of group1 or > group2, and play around lilbit, > > PLEASE how to restrict this user from going outside his shell account and > restrict him from > viewing others folders and webpages ? If i will chmod to something > limited, then even when > he browse the web to his webpage it wont work, > > So how to have the restriction in the same time viewing his web thro any > browser worldwide? > > Sorry for the long email. > > Thank you, > Marwan > > _________________________________________________________________ > Express yourself instantly with MSN Messenger! Download today it's FREE! > http://messenger.msn.click-url.com/go/onm00200471ave/direct/01/ > > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to > "freebsd-questions-unsubscribe@freebsd.org" >