Making sure /etc/sudoers has right owner/permissions.
This commit is contained in:
parent
61ffd3e944
commit
2722cbb709
|
@ -104,6 +104,10 @@ fi
|
||||||
# through local includes.
|
# through local includes.
|
||||||
chown -R --quiet 0:0 chroot/home/etc/skel
|
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;
|
# This is a temporary hack to get rid of fstab;
|
||||||
# needs cleanup in live-initramfs first to proper fix.
|
# needs cleanup in live-initramfs first to proper fix.
|
||||||
if [ "${LH_DEBIAN_INSTALLER}" = "live" ]
|
if [ "${LH_DEBIAN_INSTALLER}" = "live" ]
|
||||||
|
|
Loading…
Reference in New Issue