1 diff -urN tcp_wrappers_7.6.orig/README tcp_wrappers_7.6/README
2 --- tcp_wrappers_7.6.orig/README Mon Dec 13 13:58:15 1999
3 +++ tcp_wrappers_7.6/README Mon Dec 13 14:09:31 1999
5 2) The advanced way: leave the network daemons alone and modify the
6 inetd configuration file. For example, an entry such as:
8 - tftp dgram udp wait root /usr/etc/tcpd in.tftpd -s /tftpboot
9 + tftp dgram udp wait root /usr/sbin/tcpd in.tftpd -s /tftpboot
11 When a tftp request arrives, inetd will run the wrapper program
12 (tcpd) with a process name `in.tftpd'. This is the name that the
14 Then perform the following edits on the inetd configuration file
15 (usually /etc/inetd.conf or /etc/inet/inetd.conf):
17 - finger stream tcp nowait nobody /usr/etc/in.fingerd in.fingerd
19 + finger stream tcp nowait nobody /usr/sbin/in.fingerd in.fingerd
20 + ^^^^^^^^^^^^^^^^^^^^
23 - finger stream tcp nowait nobody /usr/etc/tcpd in.fingerd
25 + finger stream tcp nowait nobody /usr/sbin/tcpd in.fingerd
27 Send a `kill -HUP' to the inetd process to make the change effective.
28 Some IRIX inetd implementations require that you first disable the
29 finger service (comment out the finger service and `kill -HUP' the
31 Instead you can specify, in the inetd configuration file, an absolute
32 path name for the daemon process name. For example,
34 - ntalk dgram udp wait root /usr/etc/tcpd /usr/local/lib/ntalkd
35 + ntalk dgram udp wait root /usr/sbin/tcpd /usr/sbin/in.ntalkd
37 When the daemon process name is an absolute path name, tcpd ignores the
38 value of the REAL_DAEMON_DIR constant, and uses the last path component
40 you can look up the name from the inetd configuration file. Coming back
41 to the tftp example in the tutorial section above:
43 - tftp dgram udp wait root /usr/etc/tcpd in.tftpd -s /tftpboot
44 + tftp dgram udp wait root /usr/sbin/tcpd in.tftpd -s /tftpboot
46 This entry causes the inetd to run the wrapper program (tcpd) with a
47 process name `in.tftpd'. This is the name that the wrapper will use
49 listener, but it should be registered in the inetd configuration file.
52 - smtp stream tcp nowait root /usr/etc/tcpd /usr/lib/sendmail -bs
53 + smtp stream tcp nowait root /usr/sbin/tcpd /usr/lib/sendmail -bs
55 You will still need to run one sendmail background process to handle
56 queued-up outgoing mail. A command like: