From owner-freebsd-questions Fri Jul 27 6:47:50 2001 Delivered-To: freebsd-questions@freebsd.org Received: from mailrelay2.inwind.it (unknown [212.141.54.102]) by hub.freebsd.org (Postfix) with ESMTP id 19E1C37B401 for ; Fri, 27 Jul 2001 06:47:42 -0700 (PDT) (envelope-from fcasadei@inwind.it) Received: from [62.98.191.246] (62.98.191.246) by mailrelay2.inwind.it (5.5.029) id 3B4502A1005F9007 for freebsd-questions@FreeBSD.ORG; Fri, 27 Jul 2001 15:47:40 +0200 Received: (qmail 2890 invoked by uid 1000); 27 Jul 2001 13:45:59 -0000 Date: Fri, 27 Jul 2001 15:45:59 +0200 From: Francesco Casadei To: Lee Mark Mercado Cc: freebsd-questions@FreeBSD.ORG Subject: Re: login access Message-ID: <20010727154559.A2641@goku.kasby> Mail-Followup-To: Lee Mark Mercado , freebsd-questions@FreeBSD.ORG References: Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-md5; protocol="application/pgp-signature"; boundary="jRHKVT23PllUwdXP" Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: ; from mercadolee@hotmail.com on Thu, Jul 26, 2001 at 11:42:38AM -0700 X-Operating-System: FreeBSD 4.3-STABLE i386 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG --jRHKVT23PllUwdXP Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Thu, Jul 26, 2001 at 11:42:38AM -0700, Lee Mark Mercado wrote: > how could i deny login from FTP, TELNET - allowing only POP3 access ? >=20 > please help. thx >=20 > _________________________________________________________________ > Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp >=20 >=20 > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-questions" in the body of the message >=20 > end of the original message To prevent incoming login systemwide create the file /var/run/nologin as ro= ot (this will block ftp access also): # echo 'Access denied.' > /var/run/nologin To disable login access to user 'exampleusr': # pw usermod exampleusr -s /sbin/nologin To disable ftp access to user 'exampleusr': # echo 'exampleusr' >> /etc/ftpusers For more information: man 5 nologin man 8 nologin man ftpd 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 --jRHKVT23PllUwdXP Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.6 (FreeBSD) Comment: For info see http://www.gnupg.org iD8DBQE7YXCXfsM3XxZOsXsRAqJZAKCWJ0rfM7WvEqh0VelwFDp1zmbvngCgtJ1+ FQ/Imomdzs1zgrOvsHne0SQ= =cK+U -----END PGP SIGNATURE----- --jRHKVT23PllUwdXP-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message