Index of Section 8 Manual Pages
| Interix / SUA | tftpd.8 | Interix / SUA |
TFTPD(8) System Manager's Manual TFTPD(8)
NAME
tftpd - Internet Trivial File Transfer Protocol server
SYNOPSIS
tftpd [-clns] [directory ...]
DESCRIPTION
Tftpd is a server which supports the Internet Trivial File Transfer Pro-
tocol (RFC 783). The TFTP server operates at the port indicated in the
`tftp' service 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 containing the string
``/../'' are not allowed. 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 implica-
tions should be considered before enabling tftp service. The server
should have the user ID with the lowest possible privilege.
Access to files may be restricted by invoking tftpd with a list of direc-
tories by including up to 20 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. The given directories
are also treated as a search path for relative filename requests.
The options are:
-c If the -c flag is used, tftpd will allow new files to be created;
otherwise uploaded files must already exist. Files are created
with default permissions allowing anyone to read or write to
them.
-l Logs all requests using syslog(3).
-n Suppresses negative acknowledgement of requests for nonexistent
relative filenames.
-s 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 intended primarily for compatibility with SunOS boot
ROMs which do not include a directory name. Only one directory
name can be given with this option.
-u username
Switch to another user named username instead inheriting the user
from inetd. This can provide additional security when the named
user has very low privilege and access.
SEE ALSO
ftpd(8), tftp(1), inetd(8)
HISTORY
The tftpd command appeared in 4.2BSD.
Interix November 13, 2007 Interix