bin/113669: ftpchroot(5) / ftpusers(5) doesn't do globbing

Edwin Groothuis edwin at mavetju.org
Thu Jun 14 04:10:04 UTC 2007


>Number:         113669
>Category:       bin
>Synopsis:       ftpchroot(5) / ftpusers(5) doesn't do globbing
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Thu Jun 14 04:10:03 GMT 2007
>Closed-Date:
>Last-Modified:
>Originator:     Edwin Groothuis
>Release:        FreeBSD 6.2-RELEASE-p4 i386
>Organization:
-
>Environment:
System: FreeBSD k7.mavetju 6.2-RELEASE-p4 FreeBSD 6.2-RELEASE-p4 #0: Thu Apr 26 17:55:55 UTC 2007 root at i386-builder.daemonology.net:/usr/obj/usr/src/sys/SMP i386


>Description:

ftpchroot(5) and ftpusers(5) say:

    The syntax of each line is:
	    userglob[:groupglob][@host] [directive [class]]

    These elements are:
	    userglob	matched against the user name, using fnmatch(3) glob
			matching (e.g, `f*').


But that function isn't used anywhere in the src/libexec/ftpd, nor
can I find any evidence in the checkuser() funtion that it some
kind of globbing is done.

>How-To-Repeat:
>Fix:

I'm not sure how the manpage and the sourcecode of ftpd relate at
this moment.
>Release-Note:
>Audit-Trail:
>Unformatted:


More information about the freebsd-bugs mailing list