Skip to content

Utility for generating secure passwords on the command line

License

Notifications You must be signed in to change notification settings

gaiustech/MkPasswd

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 

Repository files navigation

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

About

Utility for generating secure passwords on the command line

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages