Change default genpasswd length to 32
This commit is contained in:
parent
2e905d88a6
commit
afa7f3d4f3
1 changed files with 1 additions and 1 deletions
|
@ -1,4 +1,4 @@
|
||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
l=$1
|
l=$1
|
||||||
[ "$l" == "" ] && l=16
|
[ "$l" == "" ] && l=32
|
||||||
tr -dc A-Za-z0-9_ < /dev/urandom | head -c ${l} | xargs
|
tr -dc A-Za-z0-9_ < /dev/urandom | head -c ${l} | xargs
|
||||||
|
|
Loading…
Reference in a new issue