From owner-freebsd-questions Thu Aug 26 9: 0: 6 1999 Delivered-To: freebsd-questions@freebsd.org Received: from unix.megared.net.mx (megared.net.mx [207.249.162.252]) by hub.freebsd.org (Postfix) with ESMTP id 7CCB715C5F for ; Thu, 26 Aug 1999 08:59:54 -0700 (PDT) (envelope-from ales@megared.net.mx) Received: from ales (pix.megared.net.mx [207.249.162.253]) by unix.megared.net.mx (8.9.3/8.9.3) with SMTP id KAA36906; Thu, 26 Aug 1999 10:58:17 -0500 (CDT) (envelope-from ales@megared.net.mx) Message-ID: <006601beefdb$b187dce0$d4630a0a@megared.net.mx> From: "Alejandro Ramirez" To: "S.Christopoulos" , References: <002001beefc4$13100cc0$475bfea9@haley> Subject: RE: ftp problem Date: Thu, 26 Aug 1999 10:57:26 -0500 MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_NextPart_000_0062_01BEEFB1.C8904320" X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.00.2014.211 X-Mimeole: Produced By Microsoft MimeOLE V5.00.2014.211 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG This is a multi-part message in MIME format. ------=_NextPart_000_0062_01BEEFB1.C8904320 Content-Type: text/plain; charset="iso-8859-7" Content-Transfer-Encoding: 7bit Hi, You just have to touch /etc/ftpchroot and put in there the name of the users or the name of the groups that you want this for, the way of doing it its very easy ex: john beth @group1 @group2 And you have to recompile the ftpd to have ls into, this is mandatory for you to access correctly you information, just cd /usr/src/usr.bin/ftpd make depend make FTPD_INTERNAL_LS make install And you are done. Have Fun... Ales You Must Never Loose the Faith in You!!! -Ales- ----- Original Message ----- From: S.Christopoulos To: freebsd-questions@FreeBSD.ORG Sent: Thursday, August 26, 1999 8:08 AM Subject: ftp problem We have a BSD v 3.5 system and we have the following problem. We have two different users, user1 and user2 - both are real system users. We want to set the system so that they can both ftp into different directory and only to a specific directory. i.e. user1 to be able to ftp to /usr/temp/user1 (so this will be his root directory, so he won't be able to see anything else) and user2 to be able to ftp to /usr/temp/user2 (so this will be his root directory, so he won't be able to see anything else). For security reasons we want only certain users to be able to access specific directories. We have tried to follow the directions of the ftpaccess but obviously we haven't been successful!!! Only the admin user can ftp so far. We would appreciate any help you can offer us on this matter even if you have to charge us for the info. Hope to here from you sooooon!!!! S.CHRISTOPOULOS ------=_NextPart_000_0062_01BEEFB1.C8904320 Content-Type: text/html; charset="iso-8859-7" Content-Transfer-Encoding: quoted-printable
Hi,

    You just = have to=20 touch /etc/ftpchroot and put in there the name of the
users or the = name of=20 the groups that you want this for, the way of doing it
its very easy=20 ex:
john
beth
@group1
@group2

And you have to = recompile the=20 ftpd to have ls into, this is mandatory for
you to access correctly = you=20 information, just
cd /usr/src/usr.bin/ftpd
make depend
make=20 FTPD_INTERNAL_LS
make install

And you are = done.
Have Fun...

Ales
You Must Never Loose the Faith in=20 You!!!
-Ales-
----- Original Message -----
From:=20 S.Christopoulos=20
To: freebsd-questions@FreeBSD.ORG =
Sent: Thursday, August 26, 1999 = 8:08=20 AM
Subject: ftp problem

We have a BSD v 3.5 system and we have the = following=20 problem.
We have two different users, user1 and user2 = -  both=20 are real system users.  We want to set the system so that they = can=20 both  ftp into different directory and only to a specific = directory.=20
i.e.
user1 to be able to ftp  to /usr/temp/user1 = (so this=20 will be his root directory, so he won't be able to see anything else) = and=20
user2 to be able to ftp  to /usr/temp/user2 = (so this=20 will be his root directory, so he won't be able to see anything=20 else).
 For security reasons we want only certain = users to be=20 able to access specific directories.
We have tried to follow the directions of the = ftpaccess but=20 obviously we haven't been successful!!! Only the admin user can ftp so = far.  We would appreciate any help you can offer us on this = matter even=20 if you have to charge us for the info.  Hope to here from you=20 sooooon!!!!
 
S.CHRISTOPOULOS 
------=_NextPart_000_0062_01BEEFB1.C8904320-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message