Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 01 Mar 1999 18:29:54 -0600
From:      Don Read <sysop@calcasieu.com>
To:        "Daniel J. Wharton" <wharton@burnit.net>
Cc:        <freebsd-questions@FreeBSD.ORG>
Subject:   Re: Disabling Telnet
Message-ID:  <3.0.5.32.19990301182954.00831540@firewall>
In-Reply-To: <Pine.BSF.4.05.9903011722440.385-100000@jedi.burnit.net>
References:  <Pine.OSF.4.05.9903011324460.19341-100000@jaguar.ir.miami.edu>

next in thread | previous in thread | raw e-mail | index | archive | help
back on 05:25 PM 3/1/99 -0500, you said:
>
>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.
>

set their shell to /sbin/nologin (or /usr/bin/false, or whatever)
and add that to /etc/shells

man getusershell ftpd

Regards
-- 
Don Read                               sysop@calcasieu.com
EDP Manager                                dread@texas.net
Calcasieu Lumber Co.                             Austin TX
- There cannot be a crisis next week. My schedule is already full.



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?3.0.5.32.19990301182954.00831540>