* on the host, run ud-replicate and check if it worked
{{{
+ apt-get update &&
+ apt-get install -y --no-install-recommends userdir-ldap &&
ud-replicate &&
id weasel
}}}
* try to become root using sudo.
-* make ca-certificates sane: (choose to *not* trust new certs, and we only want the spi cert activated)
+* make ca-certificates sane: (choose to *not* trust new certs)
{{{
echo "ca-certificates ca-certificates/trust_new_crts select no" | debconf-set-selections
- sed -i -e 's/^[^#!].*/!&/; s#^!spi-inc.org/spi-cacert-2008.crt#spi-inc.org/spi-cacert-2008.crt#' /etc/ca-certificates.conf
dpkg-reconfigure ca-certificates
}}}
apt-get install -y samhain &&
( puppet agent --no-daemonize --onetime || true ) &&
service samhain stop &&
- rm /var/state/samhain/samhain_file &&
+ rm -f /var/state/samhain/samhain_file /var/lib/samhain/samhain_file &&
samhain --foreground -t init -p none -s none -l none -m none &&
service samhain start
}}}