Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 1 Mar 1999 17:30:46 -0800
From:      Shawn Ramsey <shawn@cpl.net>
To:        "Daniel J. Wharton" <wharton@burnit.net>, freebsd-questions@FreeBSD.ORG
Subject:   Re: Disabling Telnet
Message-ID:  <19990301173046.A5177@cpl.net>
In-Reply-To: <Pine.BSF.4.05.9903011722440.385-100000@jedi.burnit.net>; from Daniel J. Wharton on Mon, Mar 01, 1999 at 05:25:49PM -0500
References:  <Pine.OSF.4.05.9903011324460.19341-100000@jaguar.ir.miami.edu> <Pine.BSF.4.05.9903011722440.385-100000@jedi.burnit.net>

next in thread | previous in thread | raw e-mail | index | archive | help
> 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.

Add : 

/sbin/nologin 


to the file /etc/shells



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?19990301173046.A5177>