xref: /original-bsd/libexec/tftpd/tftpd.8 (revision e21485a6)
1.\" Copyright (c) 1983, 1991 The Regents of the University of California.
2.\" All rights reserved.
3.\"
4.\" %sccs.include.redist.roff%
5.\"
6.\"	@(#)tftpd.8	6.7 (Berkeley) 05/13/91
7.\"
8.Dd
9.Dt TFTPD 8
10.Os BSD 4.2
11.Sh NAME
12.Nm tftpd
13.Nd
14.Tn DARPA
15Trivial File Transfer Protocol server
16.Sh SYNOPSIS
17.Nm tftpd
18.Op Ar directory ...
19.Sh DESCRIPTION
20.Nm Tftpd
21is a server which supports the
22.Tn DARPA
23Trivial File Transfer
24Protocol.
25The
26.Tn TFTP
27server operates
28at the port indicated in the
29.Ql tftp
30service description;
31see
32.Xr services 5 .
33The server is normally started by
34.Xr inetd 8 .
35.Pp
36The use of
37.Xr tftp 1
38does not require an account or password on the remote system.
39Due to the lack of authentication information,
40.Nm tftpd
41will allow only publicly readable files to be
42accessed.
43Files may be written only if they already exist and are publicly writable.
44Note that this extends the concept of
45.Dq public
46to include
47all users on all hosts that can be reached through the network;
48this may not be appropriate on all systems, and its implications
49should be considered before enabling tftp service.
50The server should have the user ID with the lowest possible privilege.
51.Pp
52Access to files may be restricted by invoking
53.Nm tftpd
54with a list of directories by including pathnames
55as server program arguments in
56.Pa /etc/inetd.conf .
57In this case access is restricted to files whose
58names are prefixed by the one of the given directories.
59.Sh SEE ALSO
60.Xr tftp 1 ,
61.Xr inetd 8
62.Sh HISTORY
63The
64.Nm
65command appeared in
66.Bx 4.2 .
67