Commit ad6d71df authored by Anton Midyukov's avatar Anton Midyukov

deflogin: add workaround for fix add user, when fwupd is installed

parent 14b9ca06
...@@ -24,6 +24,10 @@ set_sudo() { ...@@ -24,6 +24,10 @@ set_sudo() {
echo "$1 ALL=(ALL) ALL" >> "/etc/sudoers" echo "$1 ALL=(ALL) ALL" >> "/etc/sudoers"
} }
# workarround for sysusers
# Link: https://lists.altlinux.org/pipermail/devel/2024-June/218787.html
chmod u+w /etc/gshadow{,-}
# chpasswd is intended for batch use but that would be less comprehensible # chpasswd is intended for batch use but that would be less comprehensible
[ -z "$GLOBAL_USERS" ] || [ -z "$GLOBAL_USERS" ] ||
echo "$GLOBAL_USERS" \ echo "$GLOBAL_USERS" \
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment