Re: What to do about nologin(8)?

From: Tim Kientzle <tim_at_kientzle.com>
Date: Wed, 25 Feb 2004 11:01:37 -0800
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
Received on Wed Feb 25 2004 - 10:03:07 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:37:44 UTC