From nobody@FreeBSD.org  Thu Jun  5 17:25:13 2008
Return-Path: <nobody@FreeBSD.org>
Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34])
	by hub.freebsd.org (Postfix) with ESMTP id 0F8C3106567A
	for <freebsd-gnats-submit@FreeBSD.org>; Thu,  5 Jun 2008 17:25:13 +0000 (UTC)
	(envelope-from nobody@FreeBSD.org)
Received: from www.freebsd.org (www.freebsd.org [IPv6:2001:4f8:fff6::21])
	by mx1.freebsd.org (Postfix) with ESMTP id 0334F8FC24
	for <freebsd-gnats-submit@FreeBSD.org>; Thu,  5 Jun 2008 17:25:13 +0000 (UTC)
	(envelope-from nobody@FreeBSD.org)
Received: from www.freebsd.org (localhost [127.0.0.1])
	by www.freebsd.org (8.14.2/8.14.2) with ESMTP id m55HPCib052618
	for <freebsd-gnats-submit@FreeBSD.org>; Thu, 5 Jun 2008 17:25:12 GMT
	(envelope-from nobody@www.freebsd.org)
Received: (from nobody@localhost)
	by www.freebsd.org (8.14.2/8.14.1/Submit) id m55HPCfU052588;
	Thu, 5 Jun 2008 17:25:12 GMT
	(envelope-from nobody)
Message-Id: <200806051725.m55HPCfU052588@www.freebsd.org>
Date: Thu, 5 Jun 2008 17:25:12 GMT
From: Clment Lavoillotte <clement.lavoillotte@free.fr>
To: freebsd-gnats-submit@FreeBSD.org
Subject: ftpusers man page says /etc/ftpusers is mandatory to enable ftp access, but it's not
X-Send-Pr-Version: www-3.1
X-GNATS-Notify:

>Number:         124306
>Category:       docs
>Synopsis:       ftpusers(5) man page says /etc/ftpusers is mandatory to enable ftp access, but it's not
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-doc
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          doc-bug
>Submitter-Id:   current-users
>Arrival-Date:   Thu Jun 05 17:30:01 UTC 2008
>Closed-Date:    Thu Jun 05 20:33:13 UTC 2008
>Last-Modified:  Thu Jun  5 22:20:02 UTC 2008
>Originator:     Clment Lavoillotte
>Release:        6.3 and 7
>Organization:
iTeam
>Environment:
FreeBSD yellow.iteam.org 6.3-RELEASE FreeBSD 6.3-RELEASE #0: Wed Jan 16 04:18:52 UTC 2008     root@dessler.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC  i386
>Description:
According to ftpusers(5), "If the ftpusers file does not exist, all users
are denied access.".

This appears to be incorrect. Since I can't find this feature in
src/libexec/ftpd/ftpd.c, I suppose that the error is in the doc.
>How-To-Repeat:
- man ftpusers
- moving /etc/ftpusers to /etc/ftpusers.bak doesn't prevent user login
>Fix:
Remove the incorrect line from the doc.

>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->closed 
State-Changed-By: remko 
State-Changed-When: Thu Jun 5 20:33:12 UTC 2008 
State-Changed-Why:  
Lukemftpd has the ftusers(5). 

http://www.freebsd.org/cgi/query-pr.cgi?pr=124306 

From: Remko Lodder <remko@FreeBSD.org>
To: =?ISO-8859-1?Q?Cl=E9ment_Lavoillotte?= <clement.lavoillotte@free.fr>
Cc: freebsd-gnats-submit@FreeBSD.org
Subject: Re: docs/124306: ftpusers man page says /etc/ftpusers is mandatory
 to	enable ftp access, but it's not
Date: Thu, 05 Jun 2008 22:32:45 +0200

 Clment Lavoillotte wrote:
 
 You are wrong :-) We have two ftpd.c's.
 
 # grep ftpusers /usr/src/contrib/lukemftpd/src/ftpd.c
                          /* check user in /etc/ftpusers, and setup class */
   * Check if user is allowed by /etc/ftpusers
                  reply(0, "Deny bad ftpusers(5) quickly: %sabled",
 
 
 lukemftpd has the ftpusers(5)..
 
 -- 
 
 /"\   Best regards,                      | remko@FreeBSD.org
 \ /   Remko Lodder                       | remko@EFnet
   X    http://www.evilcoder.org/          |
 / \   ASCII Ribbon Campaign              | Against HTML Mail and News

From: =?ISO-8859-1?Q?Cl=E9ment_Lavoillotte?= <clement.lavoillotte@free.fr>
To: Remko Lodder <remko@FreeBSD.org>
Cc: freebsd-gnats-submit@FreeBSD.org
Subject: Re: docs/124306: ftpusers man page says /etc/ftpusers is mandatory to	enable ftp access, but it's not
Date: Thu, 5 Jun 2008 23:53:43 +0200

 Hi,
 
 Ok sorry :)
 Perhaps it should be mentioned in this line that it only applies to =20
 lukemftpd ? It may be obvious for most users, but it wasn't for me =20
 since I didn't see "lukemftpd" anywhere in ftpusers(5) [nor in ftpd(8) =20=
 
 or the handbook ftpd page].
 I'm quite new to FreeBSD, so I may not have searched long enough, but =20=
 
 I think adding this note to the man page would help people like me to =20=
 
 figure out the difference (and not to pollute your PR db) :)
 
 Thanks for your time.
 
 Regards,
 Cl=E9ment
 
 Le 5 juin 08 =E0 22:32, Remko Lodder a =E9crit :
 
 > Cl=E9ment Lavoillotte wrote:
 >
 > You are wrong :-) We have two ftpd.c's.
 >
 > # grep ftpusers /usr/src/contrib/lukemftpd/src/ftpd.c
 >                        /* check user in /etc/ftpusers, and setup =20
 > class */
 > * Check if user is allowed by /etc/ftpusers
 >                reply(0, "Deny bad ftpusers(5) quickly: %sabled",
 >
 >
 > lukemftpd has the ftpusers(5)..
 >
 > --=20
 >
 > /"\   Best regards,                      | remko@FreeBSD.org
 > \ /   Remko Lodder                       | remko@EFnet
 > X    http://www.evilcoder.org/          |
 > / \   ASCII Ribbon Campaign              | Against HTML Mail and News
 
>Unformatted:
