wget http://la-samhna.de/samhain/samhain-current.tar.gz
tar -xzvf samhain-current.tar.gz -C /tmp cd /tmp
# Get the samhain development PGP key 1024D/0F571F6C gpg –keyserver pgp.mit.edu –recv-key 0F571F6C
# check the key fingerprint (EF6C EF54 701A 0AFD B86A F4C3 1AAD 26C8 0F57 1F6C) gpg –fingerprint 0F571F6C
# and verify the PGP signature on the distribution tarball: gpg –verify samhain-1.8.3.tar.gz.asc samhain-1.8.3.tar.gz
# Unzip the second-stage tar file and cd into the distribution directory:
tar -xzvf samhain-1.8.2.tar.gz cd samhain-1.8.2
# Read the docs/README
# dost mozne, ze budem potrebovat checksum ak budem chciet podpisovat veci gpg-ckom (–with-gpg=/usr/bin/gpg –with-checksum=“sem napisem zisteny checksum gpg-cka”)
# checksum zistim takto:
gpg –load-extension tiger –print-md TIGER192 /usr/bin/gpg
# algoritmus TIGER192 nefunguje
./configure –enable-login-watch –enable-suidcheck
make make install make install-boot
# nastavit /etc/samhainrc
samhain -t init