On 2009/06/19 20:46, Thordur I. Bjornsson wrote: > Stuart Henderson <[email protected]> wrote on Fri 19.Jun'09 at 20:56:24 > +0100 > > > The FAQ uses "nobody" to run netcat in an example; this should > > be changed to a different user. Do people think "proxy" would be > > appropriate or should we use something else? > > Don't know about "proxy". But it definitly should not use nobody. > > It seems looking at master.passwd that proxy would be the best fit > though. >
That's what I thought.. something like this would be an improvement, unless anyone has a better suggestion: Index: rdr.html =================================================================== RCS file: /cvs/www/faq/pf/rdr.html,v retrieving revision 1.27 diff -u -p -r1.27 rdr.html --- rdr.html 6 May 2007 18:59:54 -0000 1.27 +++ rdr.html 20 Jun 2009 09:57:38 -0000 @@ -310,9 +310,10 @@ Simple proxies can be created using >nc(1)</a>. The following <tt>/etc/inetd.conf</tt> entry creates a listening socket bound to the loopback address (127.0.0.1) and port 5000. Connections are forwarded to port 80 on server 192.168.1.10. +The forwarding is done by user "proxy". <blockquote> <tt> -127.0.0.1:5000 stream tcp nowait nobody /usr/bin/nc nc -w \<br> +127.0.0.1:5000 stream tcp nowait proxy /usr/bin/nc nc -w \<br> 20 192.168.1.10 80 </tt> </blockquote>
