mirror of
https://git.bashclub.org/bashclub/zamba-lxc-toolbox.git
synced 2025-08-29 14:28:32 +02:00
default password length
This commit is contained in:
parent
37f097478b
commit
62a3e9fc09
1 changed files with 2 additions and 7 deletions
|
@ -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
|
|
||||||
}
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue