mirror of
https://github.com/Security-Onion-Solutions/securityonion.git
synced 2025-12-07 17:52:46 +01:00
Add soremote user
This commit is contained in:
@@ -71,14 +71,6 @@ if (whiptail_you_sure) ; then
|
||||
# Set management nic
|
||||
whiptail_management_nic
|
||||
|
||||
# whiptail_create_socore_user
|
||||
# SCMATCH=no
|
||||
# while [ $SCMATCH != yes ]; do
|
||||
# whiptail_create_socore_user_password1
|
||||
# whiptail_create_socore_user_password2
|
||||
# check_socore_pass
|
||||
# done
|
||||
|
||||
else
|
||||
|
||||
# Set the hostname
|
||||
@@ -169,7 +161,7 @@ if (whiptail_you_sure) ; then
|
||||
add_admin_user
|
||||
disable_onion_user
|
||||
fi
|
||||
#add_socore_user_master
|
||||
|
||||
# Install salt and dependencies
|
||||
{
|
||||
sleep 0.5
|
||||
@@ -291,13 +283,13 @@ if (whiptail_you_sure) ; then
|
||||
fi
|
||||
fi
|
||||
|
||||
# Get a password for the socore user
|
||||
whiptail_create_socore_user
|
||||
# Get a password for the soremote user
|
||||
whiptail_create_soremote_user
|
||||
SCMATCH=no
|
||||
while [ $SCMATCH != yes ]; do
|
||||
whiptail_create_socore_user_password1
|
||||
whiptail_create_socore_user_password2
|
||||
check_socore_pass
|
||||
whiptail_create_soremote_user_password1
|
||||
whiptail_create_soremote_user_password2
|
||||
check_soremote_pass
|
||||
done
|
||||
|
||||
# Get a password for the web admin user
|
||||
@@ -331,10 +323,8 @@ if (whiptail_you_sure) ; then
|
||||
fi
|
||||
|
||||
# Add the user so we can sit back and relax
|
||||
#echo ""
|
||||
#echo "**** Please set a password for socore. You will use this password when setting up other Nodes/Sensors"
|
||||
#echo ""
|
||||
add_socore_user_master
|
||||
add_soremote_user_master
|
||||
|
||||
# Install salt and dependencies
|
||||
{
|
||||
@@ -574,13 +564,13 @@ if (whiptail_you_sure) ; then
|
||||
if [ $INSTALLTYPE == 'MASTERSEARCH' ]; then
|
||||
# Find out how to handle updates
|
||||
whiptail_master_updates
|
||||
# Get a password for the socore user
|
||||
whiptail_create_socore_user
|
||||
# Get a password for the soremote user
|
||||
whiptail_create_soremote_user
|
||||
SCMATCH=no
|
||||
while [ $SCMATCH != yes ]; do
|
||||
whiptail_create_socore_user_password1
|
||||
whiptail_create_socore_user_password2
|
||||
check_socore_pass
|
||||
whiptail_create_soremote_user_password1
|
||||
whiptail_create_soremote_user_password2
|
||||
check_soremote_pass
|
||||
done
|
||||
fi
|
||||
# Get a password for the web admin user
|
||||
@@ -610,6 +600,7 @@ if (whiptail_you_sure) ; then
|
||||
|
||||
# Add the user so we can sit back and relax
|
||||
add_socore_user_master
|
||||
add_soremote_user_master
|
||||
{
|
||||
sleep 0.5
|
||||
if [ $INSTALLTYPE == 'EVAL' ]; then
|
||||
|
||||
Reference in New Issue
Block a user