diff options
author | Daniel Baumann <daniel@debian.org> | 2008-10-12 13:56:34 +0200 |
---|---|---|
committer | Daniel Baumann <daniel@debian.org> | 2011-03-09 19:03:42 +0100 |
commit | 2722cbb7095cfd8fdc2bf1cb0fad448883a531bd (patch) | |
tree | 65b6144fe9aa5bc57ef7906f79c75a0bbb335353 /helpers/lh_chroot_hacks | |
parent | 61ffd3e9441edaa5c4522d4d3eedd288f61f6eef (diff) | |
download | vyos-live-build-2722cbb7095cfd8fdc2bf1cb0fad448883a531bd.tar.gz vyos-live-build-2722cbb7095cfd8fdc2bf1cb0fad448883a531bd.zip |
Making sure /etc/sudoers has right owner/permissions.
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 563f86570..e2cb8cc3b 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" ] |