mirror of
https://github.com/mofeng-git/One-KVM.git
synced 2025-12-12 01:00:29 +08:00
fucking systemd
This commit is contained in:
parent
8e211acc13
commit
a02ce60f7e
@ -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
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user