patch-tcpd_8 1.8 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243
  1. --- tcp_wrappers_7.6.orig/tcpd.8 1996-02-21 16:39:16.000000000 +0100
  2. +++ tcp_wrappers_7.6/tcpd.8 2009-06-05 18:45:03.000000000 +0200
  3. @@ -94,7 +94,7 @@ configuration files.
  4. .PP
  5. The example assumes that the network daemons live in /usr/etc. On some
  6. systems, network daemons live in /usr/sbin or in /usr/libexec, or have
  7. -no `in.\' prefix to their name.
  8. +no `in.' prefix to their name.
  9. .SH EXAMPLE 2
  10. This example applies when \fItcpd\fR expects that the network daemons
  11. are left in their original place.
  12. @@ -110,26 +110,26 @@ finger stream tcp nowait nobody /us
  13. becomes:
  14. .sp
  15. .ti +5
  16. -finger stream tcp nowait nobody /some/where/tcpd in.fingerd
  17. +finger stream tcp nowait nobody /usr/sbin/tcpd in.fingerd
  18. .sp
  19. .fi
  20. .PP
  21. The example assumes that the network daemons live in /usr/etc. On some
  22. systems, network daemons live in /usr/sbin or in /usr/libexec, the
  23. -daemons have no `in.\' prefix to their name, or there is no userid
  24. +daemons have no `in.' prefix to their name, or there is no userid
  25. field in the inetd configuration file.
  26. .PP
  27. Similar changes will be needed for the other services that are to be
  28. -covered by \fItcpd\fR. Send a `kill -HUP\' to the \fIinetd\fR(8)
  29. +covered by \fItcpd\fR. Send a `kill -HUP' to the \fIinetd\fR(8)
  30. process to make the changes effective. AIX users may also have to
  31. -execute the `inetimp\' command.
  32. +execute the `inetimp' command.
  33. .SH EXAMPLE 3
  34. In the case of daemons that do not live in a common directory ("secret"
  35. or otherwise), edit the \fIinetd\fR configuration file so that it
  36. specifies an absolute path name for the process name field. For example:
  37. .nf
  38. .sp
  39. - ntalk dgram udp wait root /some/where/tcpd /usr/local/lib/ntalkd
  40. + ntalk dgram udp wait root /usr/sbin/tcpd /usr/sbin/in.ntalkd
  41. .sp
  42. .fi
  43. .PP