Index | Thread | Search

From:
Klemens Nanni <kn@openbsd.org>
Subject:
Re: tftpd: document default chroot directory
To:
Chaz Kettleson <chaz@pyr3x.com>, tech@openbsd.org
Date:
Sat, 14 Jun 2025 10:06:14 +0000

Download raw body.

Thread
14.10.2024 04:28, Lucas Gabriel Vuotto пишет:
> On Sun, Oct 13, 2024 at 08:56:49PM -0400, Chaz Kettleson wrote:
>> Hello,
>>
>> The default daemon_flags for tftpd(8) in /etc/rc.d/tftpd is '/tftpboot'.
>> pxeboot(8) says /tftpboot is the "Default root directory for tftpd(8)".
>> Update tftpd.8 to similarly note the default directory is /tftpboot.

I saw this just now and fixed the pxeboot(8) manual to say "Typical",
just like it does in DESRIPTION already.

> 
> No. tftpd(8) requires a directory.
> 
> $ tftpd
> usage: tftpd [-46cdivw] [-l address] [-p port] [-r socket] directory
>