Print this page
5172 tftpd service is not registered by default and its manual is giving misleading directions
Split |
Close |
Expand all |
Collapse all |
--- old/usr/src/man/man1m/in.tftpd.1m.man.txt
+++ new/usr/src/man/man1m/in.tftpd.1m.man.txt
1 1 IN.TFTPD(1M) Maintenance Commands IN.TFTPD(1M)
2 2
3 3
4 4
5 5 NAME
6 6 in.tftpd, tftpd - Internet Trivial File Transfer Protocol server
7 7
8 8 SYNOPSIS
9 9 in.tftpd [-d] [-T rexmtval] [-s] [homedir]
10 10
11 11
12 12 DESCRIPTION
13 13 tftpd is a server that supports the Internet Trivial File Transfer
14 14 Protocol (TFTP).
15 15
16 16
17 17 Before responding to a request, the server attempts to change its
18 18 current directory to homedir; the default directory is /tftpboot.
19 19
20 20
21 21 The use of tftp does not require an account or password on the remote
22 22 system. Due to the lack of authentication information, in.tftpd will
23 23 allow only publicly readable files to be accessed. Files may be written
24 24 only if they already exist and are publicly writable. Note that this
25 25 extends the concept of "public" to include all users on all hosts that
26 26 can be reached through the network. This may not be appropriate on all
27 27 systems, and its implications should be considered before enabling this
28 28 service.
29 29
30 30
31 31 in.tftpd runs with the user ID and group ID set to [GU]ID_NOBODY under
32 32 the assumption that no files exist with that owner or group. However,
33 33 nothing checks this assumption or enforces this restriction.
34 34
35 35 OPTIONS
36 36 -d
37 37 Debug. When specified it sets the SO_DEBUG socket
38 38 option.
39 39
40 40
41 41 -s
42 42 Secure. When specified, the directory change to homedir
43 43 must succeed. The daemon also changes its root directory
44 44 to homedir.
45 45
46 46
↓ open down ↓ |
46 lines elided |
↑ open up ↑ |
47 47 -T rexmtval
48 48 Specifies the value of the retransmission timeout in
49 49 seconds. This also affects the maximum session timeout
50 50 in that the latter is set to five times the
51 51 retransmission timeout value.
52 52
53 53
54 54 USAGE
55 55 The in.tftpd server is IPv6-enabled. See ip6(7P).
56 56
57 -
58 57 in.tftpd supports transfers of greater than 32 MB, per RFC 2348.
59 58
60 59 SEE ALSO
61 60 svcs(1), tftp(1), inetadm(1M), inetd(1M), svcadm(1M), netconfig(4),
62 61 attributes(5), smf(5), ip6(7P)
63 62
64 -
65 63 Malkin, G. and Harkin, A. RFC 2347, TFTP Option Extension. The Internet
66 64 Society. May 1998
67 65
68 66
69 67 Malkin, G. and Harkin, A. RFC 2348, TFTP Blocksize Option. The Internet
70 68 Society. May 1998
71 69
72 70
73 71 Malkin, G. and Harkin, A. RFC 2349, TFTP Timeout Interval and Transfer
74 72 Size Options. The Internet Society. May 1998
75 73
76 74
77 75 Sollins, K.R. RFC 1350, The TFTP Protocol (Revision 2). Network Working
78 76 Group. July 1992.
79 77
80 78 NOTES
81 79 The tftpd server only acknowledges the transfer size option that is
82 80 sent with a read request when the octet transfer mode is specified.
83 81
84 -
85 82 The in.tftpd.1m service is managed by the service management facility,
86 83 smf(5), under the service identifier:
87 84
88 85 svc:/network/tftp/udp6:default
89 86
90 87
91 88
92 89
93 90 Administrative actions on this service, such as enabling, disabling, or
94 91 requesting restart, can be performed using svcadm(1M). Responsibility
95 92 for initiating and restarting this service is delegated to inetd(1M).
96 93 Use inetadm(1M) to make configuration changes and to view configuration
97 94 information for this service. The service's status can be queried using
98 95 the svcs(1) command.
99 96
100 97
101 - Unlike most smf(5) services, a manifest for the tftp service is not
102 - included in the system. To create one and enable this service, the
103 - administrator should:
104 98
105 - 1. Edit /etc/inet/inetd.conf and uncomment the tftp entry.
106 -
107 - 2. Run /usr/sbin/inetconv.
108 -
109 -
110 - After you run inetconv, the svc:/network/tftp/udp6:default service is
111 - created and enabled.
112 -
113 -
114 -
115 - November 5, 2008 IN.TFTPD(1M)
99 + June 17, 2015 IN.TFTPD(1M)
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX