Making sure /etc/sudoers has right owner/permissions.

This commit is contained in:
Daniel Baumann 2008-10-12 13:56:34 +02:00
parent 61ffd3e944
commit 2722cbb709
1 changed files with 4 additions and 0 deletions

View File

@ -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" ]