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