genpasswd tool added

This commit is contained in:
Cyryl Płotnicki-Chudyk 2015-12-12 08:56:13 +01:00
parent c7381cffa3
commit 964c04fe8b

4
tools/genpasswd Executable file
View file

@ -0,0 +1,4 @@
#!/bin/bash
l=$1
[ "$l" == "" ] && l=16
tr -dc A-Za-z0-9_ < /dev/urandom | head -c ${l} | xargs