Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 25 Feb 2004 11:01:37 -0800
From:      Tim Kientzle <tim@kientzle.com>
To:        Ceri Davies <ceri@submonkey.net>
Cc:        kientzle@acm.org
Subject:   Re: What to do about nologin(8)?
Message-ID:  <403CF111.3090801@kientzle.com>
In-Reply-To: <20040225100005.GV45593@submonkey.net>
References:  <6.0.1.1.1.20040223171828.03de8b30@imap.sfu.ca> <20040224223659.GB69570@VARK.homeunix.com> <6.0.1.1.1.20040224225502.03dcfb10@imap.sfu.ca> <403BE4BC.9070009@kientzle.com> <403BE803.40606@FreeBSDsystems.COM> <403BEFFB.3010702@kientzle.com> <20040225100005.GV45593@submonkey.net>

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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?403CF111.3090801>