Skip to main content

Where is "mkpasswd" for OSX? [Resolved]

There is a well-known unix utility called mkpasswd available on many *nix systems.

I was just trying to use it from terminal on an OSX 10.10.5 Yosemite (Early 2015) machine, and it is nowhere to be found.

How can I install it on this machine? or is there an alternative already available?


Question Credit: DÉ‘vïd
Question Reference
Asked September 22, 2018
Posted Under: Apple
35 views
3 Answers

There's a Mac implementation of mkpasswd on GitHub - https://github.com/PrototypeAlex/mkpasswd

Alternatively, Keychain Access has a built-in GUI password generator
File menu > New Password Item... > [click the key icon]

drop-menu artificially offset for visibility

enter image description here

I also found this Apple Discussion on how to achieve it natively, though it's unfortunately above my skill-level, so I'll let you see if you think it might be suitable.


credit: Tetsujin
Answered September 22, 2018
Your Answer
D:\Adnan\Candoerz\CandoProject\vQA