freebsd-src/crypto/openssh/contrib/hpux
..
egd
egd.rc
README
sshd
sshd.rc

README for OpenSSH HP-UX contrib files
Kevin Steves <stevesk@pobox.com>

sshd:		configuration file for sshd.rc
sshd.rc:	SSH startup script
egd:		configuration file for egd.rc
egd.rc:		EGD (entropy gathering daemon) startup script

To install:

sshd.rc:

o Verify paths in sshd.rc match your local installation
  (WHAT_PATH and WHAT_PID)
o Customize sshd if needed (SSHD_ARGS)
o Install:

  # cp sshd /etc/rc.config.d
  # chmod 444 /etc/rc.config.d/sshd
  # cp sshd.rc /sbin/init.d
  # chmod 555 /sbin/init.d/sshd.rc
  # ln -s /sbin/init.d/sshd.rc /sbin/rc1.d/K100sshd
  # ln -s /sbin/init.d/sshd.rc /sbin/rc2.d/S900sshd

egd.rc:

o Verify egd.pl path in egd.rc matches your local installation
  (WHAT_PATH)
o Customize egd if needed (EGD_ARGS and EGD_LOG)
o Add pseudo account:

  # groupadd egd
  # useradd -g egd egd
  # mkdir -p /etc/opt/egd
  # chown egd:egd /etc/opt/egd
  # chmod 711 /etc/opt/egd

o Install:

  # cp egd /etc/rc.config.d
  # chmod 444 /etc/rc.config.d/egd
  # cp egd.rc /sbin/init.d
  # chmod 555 /sbin/init.d/egd.rc
  # ln -s /sbin/init.d/egd.rc /sbin/rc1.d/K600egd
  # ln -s /sbin/init.d/egd.rc /sbin/rc2.d/S400egd