From sopel@hood.1lo.lublin.pl  Thu Jan 28 10:27:51 1999
Received: from hood.1lo.lublin.pl (hood.1lo.lublin.pl [193.59.31.126])
          by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id KAA22392
          for <FreeBSD-gnats-submit@freebsd.org>; Thu, 28 Jan 1999 10:27:44 -0800 (PST)
          (envelope-from sopel@hood.1lo.lublin.pl)
Received: (from sopel@localhost)
	by hood.1lo.lublin.pl (8.9.1/8.9.1) id TAA08811;
	Thu, 28 Jan 1999 19:28:09 GMT
Message-Id: <199901281928.TAA08811@hood.1lo.lublin.pl>
Date: Thu, 28 Jan 1999 19:28:09 GMT
From: Wojtek Sobczuk <sopel@hood.1lo.lublin.pl>
Reply-To: sopel@hood.1lo.lublin.pl
To: FreeBSD-gnats-submit@freebsd.org
Subject: ftpd allows anonymous logins when /etc/nologin is present
X-Send-Pr-Version: 3.2

>Number:         9758
>Category:       bin
>Synopsis:       ftpd allows anonymous logins when /etc/nologin is present
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    billf
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Thu Jan 28 10:30:01 PST 1999
>Closed-Date:    Mon May 24 02:24:27 PDT 1999
>Last-Modified:  Mon May 24 02:25:25 PDT 1999
>Originator:     Wojtek Sobczuk
>Release:        FreeBSD 3.0-RELEASE
>Organization:
I LO, Lublin, Poland
>Environment:
	/etc/nologin present :)

>Description:
	the synopsis says it all.

>How-To-Repeat:
	touch /etc/nologin + configured ftpd for anonymous access.

>Fix:
	? ftpd sources. i had no time to look for it

>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: gnats-admin->freebsd-bugs 
Responsible-Changed-By: fenner 
Responsible-Changed-When: Thu Jan 28 11:10:50 PST 1999 
Responsible-Changed-Why:  
Fixing misfiled PR. 
State-Changed-From-To: open->suspended 
State-Changed-By: billf 
State-Changed-When: Fri Mar 19 19:50:16 PST 1999 
State-Changed-Why:  
I cannot reproduce this bug locally. 

Are you sure /etc/nologin really exists? 
Are you sure if you changed inetd.conf that you reloaded inetd? 

Please respond with any error messages. 


Responsible-Changed-From-To: freebsd-bugs->billf 
Responsible-Changed-By: billf 
Responsible-Changed-When: Fri Mar 19 19:50:16 PST 1999 
Responsible-Changed-Why:  
I doubt this is a bug, but if this PR gets any feedback, I'll look into it. 
State-Changed-From-To: suspended->closed 
State-Changed-By: sheldonh 
State-Changed-When: Mon May 24 02:24:27 PDT 1999 
State-Changed-Why:  
It isn't a bug. ftpd looks for /var/run/nologin, not /etc/nologin . 
>Unformatted:
