mirror of
https://github.com/Security-Onion-Solutions/securityonion.git
synced 2025-12-10 11:12:51 +01:00
[wip] Redirect so-user-add to separate log so ERROR isn't in main log
This commit is contained in:
@@ -173,7 +173,7 @@ add_web_user() {
|
|||||||
echo "Attempting to add administrator user for web interface...";
|
echo "Attempting to add administrator user for web interface...";
|
||||||
echo "$WEBPASSWD1" | /usr/sbin/so-user add "$WEBUSER";
|
echo "$WEBPASSWD1" | /usr/sbin/so-user add "$WEBUSER";
|
||||||
echo "Add user result: $?";
|
echo "Add user result: $?";
|
||||||
} >> "$setup_log" 2>&1
|
} >> "/root/so-user-add.log" 2>&1
|
||||||
}
|
}
|
||||||
|
|
||||||
# Create an secrets pillar so that passwords survive re-install
|
# Create an secrets pillar so that passwords survive re-install
|
||||||
|
|||||||
Reference in New Issue
Block a user