touch /var/log/openbao.log

chmod 644 /var/log/openbao.log
      chown openbao:openbao /var/1og/openbao_audit.log
      bao audit enable file file_path=/var/log/openbao.log removed
This commit is contained in:
miwr 2025-03-18 14:34:59 +01:00
parent 52f484d463
commit ac3988f9ac

View file

@ -25,10 +25,6 @@ server:
echo $(grep "Unseal Key 4:" /tmp/init.txt | awk '{print $NF}')| cat > /openbao/data/unseal_key4.txt
echo $(grep "Unseal Key 5:" /tmp/init.txt | awk '{print $NF}')| cat > /openbao/data/unseal_key5.txt
bao login $(grep "Initial Root Token:" /tmp/init.txt | awk '{print $NF}')
touch /var/log/openbao.log
chmod 644 /var/log/openbao.log
chown openbao:openbao /var/1og/openbao_audit.log
bao audit enable file file_path=/var/log/openbao.log
rm /tmp/init.txt
ui:
enabled: true