/MkPasswd

Utility for generating secure passwords on the command line

Primary LanguageHaskellOtherNOASSERTION

A simple tool for generating random passwords suitable for Oracle (e.g. not starting with a number). Requires package monads-fd and random-shuffle from Cabal.

Use ./build.sh to build, then ./mkpasswd. The defaults (run with no args) should be suitable for everyday use.

$ ./mkpasswd --help
mkpasswd
  -l NUMBER    --length=NUMBER      Length in chars
  -d NUMBER    --digits=NUMBER      Number of digits
  -c NUMBER    --lower=NUMBER       Number of lowercase chars
  -C NUMBER    --upper=NUMBER       Number of uppercase chars
  -s NUMBER    --upper=NUMBER       Number of special chars
  -u USERNAME  --username=USERNAME  Username to set password
  -v           --version            Print version
  -h           --help               Show help

Why not Cabal to build? I couldn't figure out how to get the options in that make the resulting binary work correctly on both 32-bit Debian and 64-bit Red Hat. 

-- EOF