DESCRIPTION
The tftpd utility is a server which supports the Internet Trivial File Transfer Protocol (RFC 1350). 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 /../ or starting with ../ 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 implications 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 directories 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 -s option provides additional security by changing s root directory, thereby prohibiting accesses outside of the specified directory. Because chroot(2) requires super-user privileges, tftpd must be run as root. However, after performing the chroot, tftpd will set its user id to that of the specified user, or "nobody" if no -u option is specified.
The options are: