in.tftpd [-c] [-l] [-u userid] [-r option...] [-s] [directory]


DESCRIPTION

     tftpd is a server which supports the DARPA Trivial File Transfer Proto­
     col.  The TFTP server operates at the port indicated in the `tftp' ser­
     vice description; see services(5).  The server is normally started by
     inetd(8).

     The use of tftp(1) does not require an account or password on the remote
     system.  Due to the lack of authentication information, tftpd will allow
     only publicly readable files to be accessed.  Files may be written only
     if they already exist and are publicly writable.  Note that this extends
     the concept of ``public'' to include all users on all hosts that can be
     reached through the network; this may not be appropriate on all systems,
     and its implications should be considered before enabling tftp service.
     The server should have the user ID with the lowest possible privilege
     (see the -u flag below.)

     Access to files may be restricted by invoking tftpd with a list of direc­
     tories by including pathnames as server program arguments in
     /etc/inetd.conf. In this case access is restricted to files whose names
     are prefixed by the one of the given directories.

     If the -c flag is used, tftpd will allow new files to be created; other­
     wise uploaded files must already exist.  Files are created with default
     permissions allowing anyone to read or write to them.

     If the -l flag is used, tftpd will log all attempts to send or request
     files to the syslog.

     When using the -s flag with a directory name, tftpd will chroot(2) on
     startup; therefore the remote host is not expected to pass the directory
     as part of the file name to transfer.  This option is recommended for se­
     curity, as well as compatibility with boot ROMs which do not include a
     directory name.

     The -u flag can be used to specify a user ID which tftpd will run as; the
     default is ``nobody''.

     This version of tftpd supports RFC 2347 option negotiation; the current
     version supports the blksize (RFC 2348), tsize, (RFC 2349), and timeout
     (RFC 2349) options.  The -r flag can be used to disable options individu­
     ally; this may allow working around client bugs.


SEE ALSO

     tftp(1),  inetd(8)


HISTORY

     The tftpd command appeared in 4.2BSD.

     The -s flag appeared in NetBSD 0.9a.

     The -c flag was added in OpenBSD 2.1 .

     The -l flag was added in Red Hat Linux 7.1


Man(1) output converted with man2html