Skip to content

Commit

Permalink
deflogin: add workaround for fix add user, when fwupd is installed
Browse files Browse the repository at this point in the history
  • Loading branch information
antohami committed Aug 8, 2024
1 parent 14b9ca0 commit ad6d71d
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions features.in/deflogin/rootfs/image-scripts.d/50-users
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,10 @@ set_sudo() {
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
[ -z "$GLOBAL_USERS" ] ||
echo "$GLOBAL_USERS" \
Expand Down

0 comments on commit ad6d71d

Please sign in to comment.