diff options
Diffstat (limited to 'helpers/lh_chroot_hacks')
-rwxr-xr-x | helpers/lh_chroot_hacks | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/helpers/lh_chroot_hacks b/helpers/lh_chroot_hacks index 563f865..e2cb8cc 100755 --- a/helpers/lh_chroot_hacks +++ b/helpers/lh_chroot_hacks @@ -104,6 +104,10 @@ fi # through local includes. chown -R --quiet 0:0 chroot/home/etc/skel +# Making sure /etc/sudoers has right owner/permissions +chown --quiet 0:0 chroot/home/etc/sudoers +chmod 0440 chroot/etc/sudoers + # This is a temporary hack to get rid of fstab; # needs cleanup in live-initramfs first to proper fix. if [ "${LH_DEBIAN_INSTALLER}" = "live" ] |