mirror of
https://github.com/bashclub/zamba-lxc-toolbox.git
synced 2025-06-16 22:33:20 +02:00
"../src/functions.sh" vor erste ...
add Open3A password length function for MySQL-DB
This commit is contained in:
@ -6,3 +6,8 @@ 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
|
||||||
|
}
|
Reference in New Issue
Block a user