docs/136035: ftpchroot(5) omits an important option

Ben Grimm freebsd at bengrimm.net
Thu Jun 25 14:40:02 UTC 2009


>Number:         136035
>Category:       docs
>Synopsis:       ftpchroot(5) omits an important option
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-doc
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          doc-bug
>Submitter-Id:   current-users
>Arrival-Date:   Thu Jun 25 14:40:00 UTC 2009
>Closed-Date:
>Last-Modified:
>Originator:     Ben Grimm
>Release:        7.2 / 8.0
>Organization:
>Environment:
several 7 and 8 installations
>Description:
The man file for ftpchroot contains a lot of very confusing options, but it omits to mention that /etc/ftpchroot can contain a second field which basically chroot's the user in the first field to the directory in the second field.

This option is mentioned in DargonFly's ftpchroot manual:

http://leaf.dragonflybsd.org/cgi/web-man?command=ftpchroot&section=5

------------------------------------------------------------
EXAMPLES
[...]
     And this line will tell ftpd(8) to lock up the user ``joe'' in
     /var/spool/ftp and then to change the current directory to /joe, which is
     relative to the session's new root:

	   joe	/var/spool/ftp/./joe
[...]
------------------------------------------------------------

It looks like ftpchroot(5), ftpd(8) and ftpd.con(5) need a thorough rewrite.

See http://forums.freebsd.org/showthread.php?t=3889 for a recent discussion, leading to the 'DargonFly' solution.
>How-To-Repeat:

>Fix:


>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the freebsd-doc mailing list