open3A random pwd max. 20

This commit is contained in:
pLAn3tT30 2022-06-06 13:51:54 +02:00 committed by GitHub
parent 87f0df7a22
commit f223a07417
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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
}