diff options
author | Devaev Maxim <[email protected]> | 2019-10-23 01:04:12 +0300 |
---|---|---|
committer | Devaev Maxim <[email protected]> | 2019-10-23 01:04:12 +0300 |
commit | a02ce60f7ed18960ad5ef9463425437de1755721 (patch) | |
tree | 6d261f464510b6b24fae8578a83b8600f56acd05 | |
parent | 8e211acc13beddfe8e228c296546e15fc1deae0a (diff) |
fucking systemd
-rw-r--r-- | kvmd.install | 3 |
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 |