Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 21 May 2003 23:57:19 +0200 (CEST)
From:      Tilman Linneweh <arved@FreeBSD.org>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   docs/52543: bug in diskless operation chapter
Message-ID:  <200305212157.h4LLvJ6b036948@sauna.arved.de>
Resent-Message-ID: <200305212200.h4LM0YI2054970@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>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@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:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200305212157.h4LLvJ6b036948>