Date: Thu, 25 Jun 2009 14:32:47 GMT From: Ben Grimm <freebsd@bengrimm.net> To: freebsd-gnats-submit@FreeBSD.org Subject: docs/136035: ftpchroot(5) omits an important option Message-ID: <200906251432.n5PEWlvg009653@www.freebsd.org> Resent-Message-ID: <200906251440.n5PEe0xM029606@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>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§ion=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:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200906251432.n5PEWlvg009653>