diff --git a/tools/genpasswd b/tools/genpasswd index a9db9974..56c20df1 100755 --- a/tools/genpasswd +++ b/tools/genpasswd @@ -1,4 +1,4 @@ #!/bin/bash l=$1 -[ "$l" == "" ] && l=16 +[ "$l" == "" ] && l=32 tr -dc A-Za-z0-9_ < /dev/urandom | head -c ${l} | xargs