summaryrefslogtreecommitdiff
path: root/kvmd.install
diff options
context:
space:
mode:
authorMaxim Devaev <[email protected]>2023-01-22 22:50:06 +0200
committerMaxim Devaev <[email protected]>2023-01-22 23:03:23 +0200
commit2d772cc30e562e40a3d0a91366883c3278df6bb6 (patch)
treebd563257f835e77dfb454c776cfb52558ebc2afe /kvmd.install
parent828778f10afb5d9e3824c72ba559e448e158b4ce (diff)
TOTP implementation
Diffstat (limited to 'kvmd.install')
-rw-r--r--kvmd.install1
1 files changed, 1 insertions, 0 deletions
diff --git a/kvmd.install b/kvmd.install
index 9a1ca0aa..20454dda 100644
--- a/kvmd.install
+++ b/kvmd.install
@@ -15,6 +15,7 @@ post_upgrade() {
done
chown kvmd:kvmd /etc/kvmd/htpasswd || true
+ chown kvmd:kvmd /etc/kvmd/totp.secret || true
chown kvmd-ipmi:kvmd-ipmi /etc/kvmd/ipmipasswd || true
chown kvmd-vnc:kvmd-vnc /etc/kvmd/vncpasswd || true
chmod 600 /etc/kvmd/*passwd || true