Remove keys at the end of an install

This commit is contained in:
Mike Reeves committed 2022-04-12 15:33:17 -04:00
1 parent 8408628b03
commit 5253cb5d25
3 files changed
+15 -3

No files matched your search

+5
View File
@@ -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