Simplfied the generate password script.

This commit is contained in:
Scott Wallace 2015-06-15 20:35:11 +01:00
parent 54fae1f0d1
commit 26e83ce792

View file

@ -17,7 +17,7 @@ while getopts nl: ARG; do
esac esac
done done
PW=$(jot -rc 256 48 123 | grep -m${LENGTH} "\w" | rs -g 0 ${LENGTH}) PW=$(openssl rand -base64 ${LENGTH} | cut -c1-${LENGTH})
echo ${ECHOARGS} ${PW} echo ${ECHOARGS} ${PW}