Skip to content
Snippets Groups Projects
Commit 0d568644 authored by Bob Mottram's avatar Bob Mottram
Browse files

Set shadow permissions

parent a9a2ade4
No related branches found
No related tags found
No related merge requests found
......@@ -370,6 +370,13 @@ function disable_deferred_execution {
systemctl disable atd
}
function set_shadow_permissions {
chown root:root /etc/shadow
chmod 0000 /etc/shadow
chown root:root /etc/gshadow
chmod 0000 /etc/gshadow
}
function setup_firewall {
function_check create_completion_file
create_completion_file
......@@ -394,6 +401,9 @@ function setup_utils {
read_config_param "PROJECT_REPO"
write_config_param "PROJECT_REPO" "$PROJECT_REPO"
function_check set_shadow_permissions
set_shadow_permissions
function_check remove_bluetooth
remove_bluetooth
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment