gunzip -c prngd-0.9.29.tar.gz | tar xvf - cd prngd-0.9.29
CC = cc CFLAGS = -O -DAIX32 -qmaxmem=-1 CFLAGS = -O -DAIX41 -qmaxmem=-1 CFLAGS = -O -DAIX42 -qmaxmem=-1 CFLAGS = -O -DAIX43 -qmaxmem=-1then
make clean make
mkdir -p /opt/prngd-0.9.29/bin cp prngd /opt/prngd-0.9.29/bin mkdir -p /opt/prngd-0.9.29/etc cp contrib/AIX-4.3/prngd.conf.aix43 /opt/prngd-0.9.29/etc/prngd.conf # entropy gathering commands
ln -s /opt/prngd-0.9.29/bin/prngd /opt/bin/prngd ln -s /opt/prngd-0.9.29/etc/prngd.conf /opt/etc/prngd.conf ln -s /opt/prngd-0.9.29/etc/prngd-seed /opt/etc/prngd-seedand refer to these links only.
prngd
is installed in /opt
as above, then
cat /var/adm/syslog /var/adm/syslog.0 /var/adm/syslog.1 > /opt/etc/prngd-seed # random seed mkssys -s prngd -p /opt/bin/prngd -a '-f -c /opt/etc/prngd.conf -s /opt/etc/prngd-seed /dev/egd-pool' -u 0 -S -n 15 -f 9 -R -G local
/etc/rc.local
:
startsrc -s prngd # start the subsystem on boot
contrib/AIX*
.
SAM
and everything seems to be fine.
gunzip -c prngd-0.9.29.tar.gz | tar xvf - cd prngd-0.9.29
CC = cc CFLAGS = -O -DULTRIXthen
make
mkdir -p /opt/prngd-0.9.29/bin cp prngd /opt/prngd-0.9.29/bin mkdir -p /opt/prngd-0.9.29/etc cp contrib/Ultrix-4.5/prngd.conf.ultrix /opt/prngd-0.9.29/etc/prngd.conf # entropy gathering commands
ln -s /opt/prngd-0.9.29/bin/prngd /opt/bin/prngd ln -s /opt/prngd-0.9.29/etc/prngd.conf /opt/etc/prngd.conf ln -s /opt/prngd-0.9.29/etc/prngd-seed /opt/etc/prngd-seedand refer to these links only.
prngd
is installed in /opt
as above, then
cat /var/adm/syslog/mail.log /var/adm/syslog/syslog.log > /opt/etc/prngd-seed # create some random seed cat /var/spool/mqueue/syslog /var/spool/mqueue/syslog.0 /var/spool/mqueue/syslog.1 > /opt/etc/prngd-seed /opt/bin/prngd -c /opt/etc/prngd.conf /dev/egd-pool # start w/o seed is possible /opt/bin/prngd -c /opt/etc/prngd.conf /var/run/egd-pool # another egd-pool recognized by OpenSSH
prngd
to be available after reboot, put in /etc/rc.local
:
/opt/bin/prngd -c /opt/etc/prngd.conf -s /opt/etc/prngd-seed /dev/egd-pool
prngd
daemon can be aborted by
/opt/bin/prngd --kill /dev/egd-pool # specify actually used egd-pool