|
@@ -370,6 +370,13 @@ function disable_deferred_execution {
|
370
|
370
|
systemctl disable atd
|
371
|
371
|
}
|
372
|
372
|
|
|
373
|
+function set_shadow_permissions {
|
|
374
|
+ chown root:root /etc/shadow
|
|
375
|
+ chmod 0000 /etc/shadow
|
|
376
|
+ chown root:root /etc/gshadow
|
|
377
|
+ chmod 0000 /etc/gshadow
|
|
378
|
+}
|
|
379
|
+
|
373
|
380
|
function setup_firewall {
|
374
|
381
|
function_check create_completion_file
|
375
|
382
|
create_completion_file
|
|
@@ -394,6 +401,9 @@ function setup_utils {
|
394
|
401
|
read_config_param "PROJECT_REPO"
|
395
|
402
|
write_config_param "PROJECT_REPO" "$PROJECT_REPO"
|
396
|
403
|
|
|
404
|
+ function_check set_shadow_permissions
|
|
405
|
+ set_shadow_permissions
|
|
406
|
+
|
397
|
407
|
function_check remove_bluetooth
|
398
|
408
|
remove_bluetooth
|
399
|
409
|
|