Correct usr/lib user account files permissions

This commit is contained in:
Dennis ten Hoove 2023-11-06 19:46:07 +00:00
parent bdae9270fa
commit fa33fb9450

View file

@ -189,8 +189,8 @@ if [[ $type == 'archlinux' ]]; then
done done
# Ensure passwd/group/shadow permissions are set properly # Ensure passwd/group/shadow permissions are set properly
chmod 600 $workdir/etc/shadow chmod 600 $workdir/etc/shadow $workdir/usr/lib/shadow
chmod 644 $workdir/etc/{passwd,group} chmod 644 $workdir/etc/{passwd,group} $workdir/usr/lib/{passwd,group}
# #
# nss-switch.conf is added using the overlay # nss-switch.conf is added using the overlay