What to do about nologin(8)?

Tim Kientzle tim at kientzle.com
Wed Feb 25 11:03:07 PST 2004


Ceri Davies wrote:
> On Tue, Feb 24, 2004 at 04:44:43PM -0800, Tim Kientzle wrote:
>> Lanny Baron wrote:
>>
>>>What I have done in the past for preventing logins via telnet/ssh is to 
>>>make a script called ftponly and put it in /usr/local/bin and in 
>>>/etc/shells put a line as /usr/local/bin/ftponly
>>
>>1) Why did you put it in /etc/shells?
> 
> What am I missing here?  ftpd(8) says:
> 
>            4.   The user must have a standard shell returned by
>                 getusershell(3).

I think the question is:  What was *I* missing?
You've found it.  Thanks for the pointer.

Tim



More information about the freebsd-current mailing list