summaryrefslogtreecommitdiff
path: root/kvmd.install
diff options
context:
space:
mode:
Diffstat (limited to 'kvmd.install')
-rw-r--r--kvmd.install3
1 files changed, 3 insertions, 0 deletions
diff --git a/kvmd.install b/kvmd.install
index 960d1fb0..d2ddda25 100644
--- a/kvmd.install
+++ b/kvmd.install
@@ -9,6 +9,9 @@ post_upgrade() {
echo "==> Ensuring KVMD users and groups ..."
systemd-sysusers /usr/lib/sysusers.d/kvmd.conf
+ # https://github.com/systemd/systemd/issues/13522
+ usermod --expiredate= kvmd >/dev/null
+
chown kvmd:kvmd /etc/kvmd/htpasswd
chown kvmd-ipmi:kvmd-ipmi /etc/kvmd/ipmipasswd
chmod 600 /etc/kvmd/*passwd