mirror of
https://github.com/Security-Onion-Solutions/securityonion.git
synced 2025-12-06 17:22:49 +01:00
[fix] Add user to SOC after state has been applied
This commit is contained in:
@@ -255,7 +255,6 @@ if [[ $is_master ]]; then
|
||||
generate_passwords 2>> "$setup_log"
|
||||
secrets_pillar 2>> "$setup_log"
|
||||
add_socore_user_master 2>> "$setup_log"
|
||||
add_web_user 2>> "$setup_log"
|
||||
fi
|
||||
|
||||
if [[ $is_master && ! $is_eval ]]; then
|
||||
@@ -460,6 +459,9 @@ export percentage=0
|
||||
set_progress_str 86 'Updating packages'
|
||||
update_packages 2>> "$setup_log"
|
||||
|
||||
set_progress_str 87 'Adding user to SOC'
|
||||
add_web_user 2>> "$setup_log"
|
||||
|
||||
set_progress_str 90 'Enabling checkin at boot'
|
||||
checkin_at_boot 2>> "$setup_log"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user