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

Edwin Groothuis edwin at
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
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Thu Jun 14 04:10:03 GMT 2007
>Originator:     Edwin Groothuis
>Release:        FreeBSD 6.2-RELEASE-p4 i386
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


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.


I'm not sure how the manpage and the sourcecode of ftpd relate at
this moment.

More information about the freebsd-bugs mailing list