generate_good_password
This is an old revision of the document!
Generate good password
Usage : apg.sh 10 (generate 10 character password)
- | apg.sh
#!/bin/bash for ((n=0;n<10;n++)); do dd if=/dev/urandom count=1 2> /dev/null | /usr/bin/gmime-uuencode -m -| sed -ne 2p | cut -c-$1; done
generate_good_password.1244185511.txt.gz · Last modified: 2020/08/10 02:30 (external edit)