mirror of
https://github.com/Security-Onion-Solutions/securityonion.git
synced 2026-11-09 22:20:00 +01:00
Prevent usage of dollar signs in admin passwords during setup
This commit is contained in:
2 files changed
+2
-2
No files matched your search
@@ -48,6 +48,6 @@ check_container() {
|
||||
|
||||
check_password() {
|
||||
local password=$1
|
||||
echo "$password" | egrep -v "'|\"|\\\\" > /dev/null 2>&1
|
||||
echo "$password" | egrep -v "'|\"|\\$|\\\\" > /dev/null 2>&1
|
||||
return $?
|
||||
}
|
||||
Reference in new issue
Block a user