mirror of https://github.com/MISP/MISP
chg: [kali] tpm module wants to be loaded before install rng-tools
parent
f08dbb00a3
commit
4fd836fa9e
|
@ -93,9 +93,9 @@ function installMISPonKali() {
|
|||
python3-dev python3-pip libpq5 libjpeg-dev libfuzzy-dev ruby asciidoctor \
|
||||
libxml2-dev libxslt1-dev zlib1g-dev python3-setuptools
|
||||
|
||||
apt install -qy rng-tools # This might fail on TPM grounds, enable the security chip in your BIOS
|
||||
modprobe tpm-rng
|
||||
echo tpm-rng >> /etc/modules
|
||||
apt install -qy rng-tools # This might fail on TPM grounds, enable the security chip in your BIOS
|
||||
service rng-tools start
|
||||
|
||||
systemctl restart mariadb.service
|
||||
|
@ -505,7 +505,7 @@ function installMISPonKali() {
|
|||
|
||||
while [ "$(sqlite3 /home/${MISP_USER}/.viper/admin.db 'UPDATE auth_user SET password="pbkdf2_sha256$100000$iXgEJh8hz7Cf$vfdDAwLX8tko1t0M1TLTtGlxERkNnltUnMhbv56wK/U="'; echo $?)" -ne "0" ]; do
|
||||
# FIXME This might lead to a race condition, the while loop is sub-par
|
||||
chown $MISP_USER:$MISP_USER /home/${MISP_USER}/.viper/admin.db
|
||||
chown $MISP_USER:$MISP_USER /home/${MISP_USER}/.viper/admin.db
|
||||
echo "Updating viper-web admin password, giving process time to start-up, sleeping 5, 4, 3,…"
|
||||
sleep 6
|
||||
done
|
||||
|
|
Loading…
Reference in New Issue