default password length

This commit is contained in:
pLAn3tT30 2022-06-06 15:59:44 +02:00 committed by GitHub
parent 37f097478b
commit 62a3e9fc09
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -4,10 +4,5 @@
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 -c$LXC_RANDOMPWD
} }
random_password_open3a() {
set +o pipefail
C_CTYPE=C tr -dc 'a-zA-Z0-9' < /dev/urandom | head -c20
}