From a02ce60f7ed18960ad5ef9463425437de1755721 Mon Sep 17 00:00:00 2001 From: Devaev Maxim Date: Wed, 23 Oct 2019 01:04:12 +0300 Subject: fucking systemd --- kvmd.install | 3 +++ 1 file changed, 3 insertions(+) (limited to 'kvmd.install') 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 -- cgit v1.2.3