### Server Configuration Files

For a secure server, make the following changes to `/etc/inetd.conf`:

Find and comment out any lines for the services `ftp`, `telnet`, `shell`, `login`, and `exec`.

Add the following lines. (Note: each line beginning with => is a continuation of the previous line.)

         klogin  stream  tcp  nowait  root  /usr/local/sbin/klogind
         => klogind -k -c
         eklogin stream  tcp  nowait  root  /usr/local/sbin/klogind
         => klogind -k -c -e
         kshell  stream  tcp  nowait  root  /usr/local/sbin/kshd
         => kshd -k -c -A
         ftp     stream  tcp  nowait  root  /usr/local/sbin/ftpd
         => ftpd -a
         telnet  stream  tcp  nowait  root  /usr/local/sbin/telnetd
         => telnetd -a valid

For an insecure server, make the following changes instead to `/etc/inetd.conf`:

Find and comment out any lines for the services `ftp` and `telnet`.

Add the following lines. (Note: each line beginning with => is a continuation of the previous line.)

         klogin  stream  tcp  nowait  root  /usr/local/sbin/klogind
         => klogind -k -c
         eklogin stream  tcp  nowait  root  /usr/local/sbin/klogind
         => klogind -k -c -e
         kshell  stream  tcp  nowait  root  /usr/local/sbin/kshd
         => kshd -k -c -A
         ftp     stream  tcp  nowait  root  /usr/local/sbin/ftpd
         => ftpd
         telnet  stream  tcp  nowait  root  /usr/local/sbin/telnetd
         => telnetd -a none