1 min read 65 words Updated May 09, 2026 Created May 09, 2026
#cli-apps#tools

Apg

Apg generates random passwords.

http://www.adel.nursat.kz/apg/

Here are the options I use & recommend

apg -a1 -n 10 -m 8 -x 8 -M NL

This example is a bit closer to what Active Directory requires (out-of-box policy) and removes the troublesome characters that look too similar causing confusion.

apg -a1 -n 10 -m 8 -x 8 -M CNL -E Iil10oO