Generating 16 chars password for users

This commit is contained in:
myvesta 2022-04-25 21:23:02 +02:00 committed by GitHub
parent 547d5f0c5b
commit 475b7eac6b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 3 additions and 3 deletions

View file

@ -152,7 +152,7 @@ generate_password() {
matrix=0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz
fi
if [ -z "$lenght" ]; then
lenght=10
lenght=16
fi
i=1
while [ $i -le $lenght ]; do