"../src/functions.sh" vor erste ...

add Open3A password length function for MySQL-DB
This commit is contained in:
Rigo 2022-05-31 09:04:59 +02:00
parent a36177b8d3
commit d04c8efba1

View File

@ -5,4 +5,9 @@
random_password() { random_password() {
set +o pipefail set +o pipefail
C_CTYPE=C tr -dc 'a-zA-Z0-9' < /dev/urandom | head -c32 C_CTYPE=C tr -dc 'a-zA-Z0-9' < /dev/urandom | head -c32
}
random_password_open3a() {
set +o pipefail
C_CTYPE=C tr -dc 'a-zA-Z0-9' < /dev/urandom | head -c20
} }