mirror of
https://git.bashclub.org/bashclub/zamba-lxc-toolbox.git
synced 2025-08-31 17:59:54 +02:00
open3A random pwd max. 20
This commit is contained in:
parent
87f0df7a22
commit
f223a07417
1 changed files with 6 additions and 1 deletions
|
@ -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
|
||||||
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue