mirror of
https://github.com/Security-Onion-Solutions/securityonion.git
synced 2026-02-06 15:24:11 +01:00
Remove keys at the end of an install
This commit is contained in:
@@ -1082,6 +1082,11 @@ echo "1" > /root/accept_changes
|
||||
set_progress_str 87 'Adding user to SOC'
|
||||
add_web_user >> $setup_log 2>&1
|
||||
fi
|
||||
|
||||
if [[ $is_analyst ]]; then
|
||||
# Remove access to the manager from the analyst workstation
|
||||
rm -rf /root/.ssh/so.key*
|
||||
fi
|
||||
|
||||
set_progress_str 90 'Enabling checkin at boot'
|
||||
checkin_at_boot >> $setup_log 2>&1
|
||||
|
||||
Reference in New Issue
Block a user