xref: /original-bsd/libexec/tftpd/tftpd.8 (revision d272e02a)
1.\" Copyright (c) 1983, 1991 The Regents of the University of California.
2.\" All rights reserved.
3.\"
4.\" provided that the above copyright notice and this paragraph are
5.\" duplicated in all such forms and that any documentation,
6.\" advertising materials, and other materials related to such
7.\" distribution and use acknowledge that the software was developed
8.\" by the University of California, Berkeley.  The name of the
9.\" University may not be used to endorse or promote products derived
10.\" from this software without specific prior written permission.
11.\" IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED
12.\" WARRANTIES OF MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE.
13.\"	@(#)tftpd.8	6.6 (Berkeley) 03/16/91
14.\" %sccs.include.redist.man%
15.\"
16.\"     @(#)tftpd.8	6.6 (Berkeley) 03/16/91
17.\"
18.Dd
19.Dt TFTPD 8
20.Os BSD 4.2
21.Sh NAME
22.Nm tftpd
23.Nd
24.Tn DARPA
25Trivial File Transfer Protocol server
26.Sh SYNOPSIS
27.Nm tftpd
28.Op Ar directory ...
29.Sh DESCRIPTION
30.Nm Tftpd
31is a server which supports the
32.Tn DARPA
33Trivial File Transfer
34Protocol.
35The
36.Tn TFTP
37server operates
38at the port indicated in the
39.Ql tftp
40service description;
41see
42.Xr services 5 .
43The server is normally started by
44.Xr inetd 8 .
45.Pp
46The use of
47.Xr tftp 1
48does not require an account or password on the remote system.
49Due to the lack of authentication information,
50.Nm tftpd
51will allow only publicly readable files to be
52accessed.
53Files may be written only if they already exist and are publicly writable.
54Note that this extends the concept of
55.Dq public
56to include
57all users on all hosts that can be reached through the network;
58this may not be appropriate on all systems, and its implications
59should be considered before enabling tftp service.
60The server should have the user ID with the lowest possible privilege.
61.Pp
62Access to files may be restricted by invoking
63.Nm tftpd
64with a list of directories by including pathnames
65as server program arguments in
66.Pa /etc/inetd.conf .
67In this case access is restricted to files whose
68names are prefixed by the one of the given directories.
69.Sh SEE ALSO
70.Xr tftp 1 ,
71.Xr inetd 8
72.Sh HISTORY
73The
74.Nm
75command appeared in
76.Bx 4.2 .
77