Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 1 Mar 1999 18:20:29 -0500 (EST)
From:      "Daniel J. Wharton" <wharton@burnit.net>
To:        Calvin M Meloon <calvin@gulf.net>
Cc:        freebsd-questions@FreeBSD.ORG
Subject:   Re: Disabling Telnet
Message-ID:  <Pine.BSF.4.05.9903011814500.662-100000@jedi.burnit.net>
In-Reply-To: <Pine.BSI.3.95.990301165223.16308C-100000@pompano.pcola.gulf.net>

next in thread | previous in thread | raw e-mail | index | archive | help


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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.4.05.9903011814500.662-100000>