From owner-freebsd-questions Mon Mar 1 15:47:28 1999 Delivered-To: freebsd-questions@freebsd.org Received: from pompano.pcola.gulf.net (gulf.net [198.69.72.14]) by hub.freebsd.org (Postfix) with ESMTP id 6A4C815467 for ; Mon, 1 Mar 1999 15:47:23 -0800 (PST) (envelope-from calvin@gulf.net) Received: from pompano.pcola.gulf.net (calvin@gulf.net [198.69.72.14]) by pompano.pcola.gulf.net (8.9.1a/8.9.1) with SMTP id RAA21947; Mon, 1 Mar 1999 17:46:50 -0600 (CST) Date: Mon, 1 Mar 1999 17:46:50 -0600 (CST) From: Calvin M Meloon X-Sender: calvin@pompano.pcola.gulf.net To: "Daniel J. Wharton" Cc: freebsd-questions@FreeBSD.ORG Subject: Re: Disabling Telnet In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG No, this is exactly how we have it.. #!/bin/sh - the only modifications are the echo lines at the bottom > > > I don't understand what you changed in the script... the only difference > I see is #!/bin/sh - instead of #!/bin/sh -p, and I don't know if that is > a mistake or not. Isn't this the /sbin/nologin file that you edited or > is it the nologin.sh? What did you change in the nologin.sh script if > this isn't it??? Thank you > > On Mon, 1 Mar 1999, Calvin M Meloon wrote: > > > We modified the nologin.sh script, echoing a couple of messages to the > > user upon login, and made this the user's shell... > > > > #!/bin/sh - > > # > > # Copyright (c) 1992, 1993 > > # The Regents of the University of California. All rights reserved. > > > > # blah > > # blah > > # blah > > > > # > > # @(#)nologin.sh 8.1 (Berkeley) 6/5/93 > > # > > > > echo 'This account is not enabled for shell/telnet access.' > > echo 'Please call the GCIC office for more information.' > > exit 1 > > > > This allows ftp access, but not telnet access. > > > > > > > > I was wondering if anyone could tell me how I can prevent users from > > > telneting in without disabling FTP access as well. I want people to be > > > able to FTP in and update their websites, but not be able to TELNET in. > > > > > > I already tried setting their shell to /sbin/nologin, but that disables > > > FTP access as well. Thank you very much in advance for any advice. > > > > _____ __ _ > > / ___/__ _/ / __(_)__ Gulf Coast Internet Calvin M. Meloon > > / /__/ _ `/ / |/ / / _ \ Pensacola, FL Unix Administrator > > \___/\_,_/_/|___/_/_//_/ (850)438-5700 writer of code > > ~~~~ calvin@gulf.net ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Proponent of FreeBSD > > > > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-questions" in the body of the message > _____ __ _ / ___/__ _/ / __(_)__ Gulf Coast Internet Calvin M. Meloon / /__/ _ `/ / |/ / / _ \ Pensacola, FL Unix Administrator \___/\_,_/_/|___/_/_//_/ (850)438-5700 writer of code ~~~~ calvin@gulf.net ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Proponent of FreeBSD To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message