From owner-freebsd-questions@FreeBSD.ORG Wed Jul 18 15:33:39 2007 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 1E6CA16A408 for ; Wed, 18 Jul 2007 15:33:39 +0000 (UTC) (envelope-from yuri@darklight.org.ru) Received: from darklight.org.ru (darklight.org.ru [194.186.18.14]) by mx1.freebsd.org (Postfix) with ESMTP id B5D7213C4F5 for ; Wed, 18 Jul 2007 15:33:37 +0000 (UTC) (envelope-from yuri@darklight.org.ru) Received: from darklight.org.ru (yuri@darklight.org.ru [127.0.0.1]) by darklight.org.ru (8.14.1/8.14.1) with ESMTP id l6IFWb4n050218 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Wed, 18 Jul 2007 19:32:42 +0400 (MSD) (envelope-from yuri@darklight.org.ru) Received: (from yuri@localhost) by darklight.org.ru (8.14.1/8.14.1/Submit) id l6IFWabg050217; Wed, 18 Jul 2007 19:32:36 +0400 (MSD) (envelope-from yuri@darklight.org.ru) Date: Wed, 18 Jul 2007 19:32:36 +0400 From: Yuri Pankov To: Zbigniew Szalbot Message-ID: <20070718153236.GC49743@darklight.org.ru> References: <803545.57859.qm@web35304.mail.mud.yahoo.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="d9ADC0YsG2v16Js0" Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.16 (2007-06-09) X-Greylist: Sender is SPF-compliant, not delayed by milter-greylist-3.0 (darklight.org.ru [127.0.0.1]); Wed, 18 Jul 2007 19:32:43 +0400 (MSD) Cc: Freebsd questions Subject: Re: creating ftp users! 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: Wed, 18 Jul 2007 15:33:39 -0000 --d9ADC0YsG2v16Js0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Wed, Jul 18, 2007 at 05:30:23PM +0200, Zbigniew Szalbot wrote: >=20 > Hello, >=20 > > During the installation, select the option to activate ine= td > > and uncomment the ftp line > > in /etc/inetd.conf. > >=20 > >=20 > > Step 2. Login as root and create your users using the command 'adduser= '. > >=20 > > Step 3. Using a text editor, such as vi, create the file /etc/ftpchroot > > and add each user name on >=20 > I hope I am not hijacking this thread but using this opportunity I would > like to ask if a similar thing could be applied to scp connections?=20 >=20 > BTW - contrary to the original poster I am using FreeBSD ;) >=20 > Thanks! >=20 > --=20 > Zbigniew Szalbot >=20 Install shells/scponly with WITH_SCP_CHROOT defined, and follow instructions given to you by pkg-message. HTH, Yuri --d9ADC0YsG2v16Js0 Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.4 (FreeBSD) iD8DBQBGnjKUeoAklVFrLdgRAj5mAKCNClj2FmdeH5JmsyctMAdYP00GhgCgg4I5 QfLF9gKuRtCq3OnNcOeoMnc= =Nc0Z -----END PGP SIGNATURE----- --d9ADC0YsG2v16Js0--