From afa7f3d4f39831ea39bd0e47ba897c3d1140ebe4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Cyryl=20P=C5=82otnicki?= Date: Sun, 18 Sep 2016 14:58:16 +0200 Subject: [PATCH] Change default genpasswd length to 32 --- tools/genpasswd | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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