Date: Thu, 26 Aug 1999 10:57:26 -0500 From: "Alejandro Ramirez" <ales@megared.net.mx> To: "S.Christopoulos" <christ@meganet.gr>, <freebsd-questions@FreeBSD.ORG> Subject: RE: ftp problem Message-ID: <006601beefdb$b187dce0$d4630a0a@megared.net.mx> References: <002001beefc4$13100cc0$475bfea9@haley>
next in thread | previous in thread | raw e-mail | index | archive | help
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 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> <HTML><HEAD> <META content=3Dtext/html;charset=3Diso-8859-7 = http-equiv=3DContent-Type> <META content=3D"MSHTML 5.00.2614.3401" name=3DGENERATOR> <STYLE></STYLE> </HEAD> <BODY bgColor=3D#ffffff> <DIV><FONT face=3DArial size=3D2>Hi,<BR><BR> You just = have to=20 touch /etc/ftpchroot and put in there the name of the<BR>users or the = name of=20 the groups that you want this for, the way of doing it<BR>its very easy=20 ex:<BR>john<BR>beth<BR>@group1<BR>@group2<BR><BR>And you have to = recompile the=20 ftpd to have ls into, this is mandatory for<BR>you to access correctly = you=20 information, just<BR>cd /usr/src/usr.bin/ftpd<BR>make depend<BR>make=20 FTPD_INTERNAL_LS<BR>make install<BR><BR>And you are = done.<BR></FONT></DIV> <DIV><FONT face=3DArial size=3D2>Have Fun...</FONT></DIV> <DIV><FONT face=3DArial size=3D2><BR>Ales<BR></FONT></DIV> <DIV><FONT face=3DArial size=3D2>You Must Never Loose the Faith in=20 You!!!</FONT></DIV> <DIV><FONT face=3DArial size=3D2>-Ales-<BR></DIV></FONT> <BLOCKQUOTE=20 style=3D"BORDER-LEFT: #000000 2px solid; MARGIN-LEFT: 5px; MARGIN-RIGHT: = 0px; PADDING-LEFT: 5px; PADDING-RIGHT: 0px"> <DIV style=3D"FONT: 10pt arial">----- Original Message ----- </DIV> <DIV=20 style=3D"BACKGROUND: #e4e4e4; FONT: 10pt arial; font-color: = black"><B>From:</B>=20 <A href=3D"mailto:christ@meganet.gr" = title=3Dchrist@meganet.gr>S.Christopoulos</A>=20 </DIV> <DIV style=3D"FONT: 10pt arial"><B>To:</B> <A=20 href=3D"mailto:freebsd-questions@FreeBSD.ORG"=20 = title=3Dfreebsd-questions@FreeBSD.ORG>freebsd-questions@FreeBSD.ORG</A> = </DIV> <DIV style=3D"FONT: 10pt arial"><B>Sent:</B> Thursday, August 26, 1999 = 8:08=20 AM</DIV> <DIV style=3D"FONT: 10pt arial"><B>Subject:</B> ftp problem</DIV> <DIV><BR></DIV> <DIV> <DIV><FONT size=3D2>We have a BSD v 3.5 system and we have the = following=20 problem.</FONT></DIV> <DIV><FONT size=3D2>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 </FONT></DIV> <DIV><FONT size=3D2>i.e. </FONT></DIV> <DIV><FONT size=3D2>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 </FONT></DIV> <DIV><FONT size=3D2>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).</FONT></DIV> <DIV><FONT size=3D2> For security reasons we want only certain = users to be=20 able to access specific directories.</FONT></DIV> <DIV><FONT size=3D2>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!!!!</FONT></DIV> <DIV><FONT size=3D2></FONT> </DIV> <DIV><FONT=20 size=3D2>S.CHRISTOPOULOS </FONT></DIV></DIV></BLOCKQUOTE></BODY></HT= ML> ------=_NextPart_000_0062_01BEEFB1.C8904320-- 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?006601beefdb$b187dce0$d4630a0a>