docs/52543: bug in diskless operation chapter
Tilman Linneweh
arved at FreeBSD.org
Wed May 21 22:00:37 UTC 2003
>Number: 52543
>Category: docs
>Synopsis: bug in diskless operation chapter
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-doc
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: doc-bug
>Submitter-Id: current-users
>Arrival-Date: Wed May 21 15:00:34 PDT 2003
>Closed-Date:
>Last-Modified:
>Originator: Tilman Linneweh
>Release: FreeBSD 5.1-BETA i386
>Organization:
BSD Usergroup Austria
>Environment:
System: FreeBSD sauna.arved.de 5.1-BETA FreeBSD 5.1-BETA #7: Mon May 19 12:24:51 CEST 2003 tilman at sauna.arved.de:/usr/obj/usr/src/sys/SAUNA i386
>Description:
The line in the Handbook does not match our default in /etc/inetd.conf.
The user has to be root, because the tftpd does a chroot.
From tftpd(8):
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.
>How-To-Repeat:
>Fix:
--- advanced-networking.diff begins here ---
Index: chapter.sgml
===================================================================
RCS file: /home/ncvs/doc/en_US.ISO8859-1/books/handbook/advanced-networking/chapter.sgml,v
retrieving revision 1.217
diff -u -u -r1.217 chapter.sgml
--- chapter.sgml 20 May 2003 14:45:33 -0000 1.217
+++ chapter.sgml 21 May 2003 21:52:28 -0000
@@ -1911,7 +1911,7 @@
<para>Add this line to your
<filename>/etc/inetd.conf</filename>:</para>
- <programlisting>tftp dgram udp wait nobody /usr/libexec/tftpd tftpd /tftpboot</programlisting>
+ <programlisting>tftp dgram udp wait root /usr/libexec/tftpd tftpd /tftpboot</programlisting>
<note><para>It appears that at least some PXE versions want
the TCP version of TFTP. In this case, add a second line,
--- advanced-networking.diff ends here ---
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-doc
mailing list