sudo permissions

This commit is contained in:
Bob Mottram 2016-11-29 21:17:52 +00:00
parent 11899c9904
commit 9749cb43ce
1 changed files with 14 additions and 0 deletions

View File

@ -435,6 +435,20 @@ function set_command_file_permissions {
if [ -d /usr/local/sbin ]; then if [ -d /usr/local/sbin ]; then
chown root:root /usr/local/sbin/* chown root:root /usr/local/sbin/*
fi fi
chmod 4755 /usr/bin/sudo
if [ -d /lib ]; then
chown -R root:root /lib/*
fi
if [ -d /lib64 ]; then
chown -R root:root /lib64/*
fi
if [ -d /usr/lib ]; then
chown -R root:root /usr/lib/*
fi
if [ -d /usr/lib64 ]; then
chown -R root:root /usr/lib64/*
fi
} }
function setup_firewall { function setup_firewall {