mirror of
https://git.bashclub.org/bashclub/zamba-lxc-toolbox.git
synced 2025-08-18 08:18:19 +02:00
"../src/functions.sh" vor erste ...
add Open3A password length function for MySQL-DB
This commit is contained in:
parent
a36177b8d3
commit
d04c8efba1
1 changed files with 5 additions and 0 deletions
|
@ -5,4 +5,9 @@
|
|||
random_password() {
|
||||
set +o pipefail
|
||||
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
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue