sudo permissions
This commit is contained in:
parent
11899c9904
commit
9749cb43ce
|
@ -435,6 +435,20 @@ function set_command_file_permissions {
|
|||
if [ -d /usr/local/sbin ]; then
|
||||
chown root:root /usr/local/sbin/*
|
||||
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 {
|
||||
|
|
Loading…
Reference in New Issue