From owner-freebsd-questions Wed Apr 18 11:21:35 2001 Delivered-To: freebsd-questions@freebsd.org Received: from relay2.inwind.it (relay2.inwind.it [212.141.53.73]) by hub.freebsd.org (Postfix) with ESMTP id 335BE37B496 for ; Wed, 18 Apr 2001 11:21:31 -0700 (PDT) (envelope-from fcasadei@inwind.it) Received: from [62.98.201.28] (62.98.201.28) by relay2.inwind.it (5.5.025) id 3ADDAB460000B41E for questions@freebsd.org; Wed, 18 Apr 2001 20:21:26 +0200 Received: (qmail 1648 invoked by uid 1000); 18 Apr 2001 18:20:29 -0000 Date: Wed, 18 Apr 2001 20:20:29 +0200 From: Francesco Casadei To: Matthew King Cc: questions@freebsd.org Subject: Re: Users Message-ID: <20010418202029.A1569@goku.kasby> References: <000801c0c7f6$0d80c900$0200a8c0@win2kbox> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-md5; protocol="application/pgp-signature"; boundary="ew6BAiZeqk4r7MaW" Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <000801c0c7f6$0d80c900$0200a8c0@win2kbox>; from revghost8@dingoblue.net.au on Wed, Apr 18, 2001 at 08:55:15PM +1000 X-Operating-System: FreeBSD 4.2-STABLE i386 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG --ew6BAiZeqk4r7MaW Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Wed, Apr 18, 2001 at 08:55:15PM +1000, Matthew King wrote: > Hi, > i was wondering, is there a way i can give my users (/usr/home) FTP acces= s but now telnet access? > If so can you please tell me how to do it. >=20 > Thanx >=20 > Matthew > end of the original message Set the user's shell to /sbin/nologin, it shows the message "This account is currently not available." and then exits. # pw usermod username -s /sbin/nologin where username is the name of the user you don't want to be able to login. Francesco Casadei --=20 You can download my public key from http://digilander.iol.it/fcasadei/ or retrieve it from a keyserver (pgpkeys.mit.edu, wwwkeys.pgp.net, ...) Key fingerprint is: 1671 9A23 ACB4 520A E7EE 00B0 7EC3 375F 164E B17B --ew6BAiZeqk4r7MaW Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.4 (FreeBSD) Comment: For info see http://www.gnupg.org iD8DBQE63drtfsM3XxZOsXsRAh3JAKDsL64Av9BoRP//csmC1zv5UVqYRgCgh69R HMvb2sI7xRMYG9u0vtnJ+fU= =9E6Q -----END PGP SIGNATURE----- --ew6BAiZeqk4r7MaW-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message