mirror of
https://github.com/Security-Onion-Solutions/securityonion.git
synced 2025-12-06 09:12:45 +01:00
Fleet pw check fix
This commit is contained in:
@@ -247,7 +247,7 @@ check_soremote_pass() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
check_fleet_node_pass() {
|
check_fleet_node_pass() {
|
||||||
check_pass_match "$FLEETNODEPASSWD1" "$FLEETNODEPASSWD2" "fpMATCH"
|
check_pass_match "$FLEETNODEPASSWD1" "$FLEETNODEPASSWD2" "FPMATCH"
|
||||||
}
|
}
|
||||||
|
|
||||||
check_web_pass() {
|
check_web_pass() {
|
||||||
@@ -302,12 +302,8 @@ collect_fleetuser_inputs() {
|
|||||||
FPMATCH=no
|
FPMATCH=no
|
||||||
while [[ $FPMATCH != yes ]]; do
|
while [[ $FPMATCH != yes ]]; do
|
||||||
whiptail_create_fleet_node_user_password1
|
whiptail_create_fleet_node_user_password1
|
||||||
if echo "$FLEETNODEPASSWD1" | so-user valpass >> "$setup_log" 2>&1; then
|
whiptail_create_fleet_node_user_password2
|
||||||
whiptail_create_fleet_node_user_password2
|
check_fleet_node_pass
|
||||||
check_fleet_node_pass
|
|
||||||
else
|
|
||||||
whiptail_invalid_pass_warning
|
|
||||||
fi
|
|
||||||
done
|
done
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user