mirror of
https://github.com/Security-Onion-Solutions/securityonion.git
synced 2025-12-06 09:12:45 +01:00
Fix Password Bug for SOREMOTE
This commit is contained in:
@@ -81,7 +81,7 @@ add_soremote_user_master() {
|
|||||||
$ADDUSER --uid 947 --gid 947 soremote
|
$ADDUSER --uid 947 --gid 947 soremote
|
||||||
|
|
||||||
# Set the password for soremote that we got during setup
|
# Set the password for soremote that we got during setup
|
||||||
echo soremote:$REMOTEPASS1 | chpasswd --crypt-method=SHA512
|
echo soremote:$SOREMOTEPASS1 | chpasswd --crypt-method=SHA512
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -140,7 +140,7 @@ whiptail_create_soremote_user() {
|
|||||||
|
|
||||||
whiptail_create_soremote_user_password1() {
|
whiptail_create_soremote_user_password1() {
|
||||||
|
|
||||||
REMOTEPASS1=$(whiptail --title "Security Onion Install" --passwordbox \
|
SOREMOTEPASS1=$(whiptail --title "Security Onion Install" --passwordbox \
|
||||||
"Enter a password for user soremote" 10 75 3>&1 1>&2 2>&3)
|
"Enter a password for user soremote" 10 75 3>&1 1>&2 2>&3)
|
||||||
|
|
||||||
local exitstatus=$?
|
local exitstatus=$?
|
||||||
@@ -150,7 +150,7 @@ whiptail_create_soremote_user_password1() {
|
|||||||
|
|
||||||
whiptail_create_soremote_user_password2() {
|
whiptail_create_soremote_user_password2() {
|
||||||
|
|
||||||
REMOTEPASS2=$(whiptail --title "Security Onion Install" --passwordbox \
|
SOREMOTEPASS2=$(whiptail --title "Security Onion Install" --passwordbox \
|
||||||
"Re-enter a password for user soremote" 10 75 3>&1 1>&2 2>&3)
|
"Re-enter a password for user soremote" 10 75 3>&1 1>&2 2>&3)
|
||||||
|
|
||||||
local exitstatus=$?
|
local exitstatus=$?
|
||||||
|
|||||||
Reference in New Issue
Block a user