macOS
/ binaries
/
pwpolicy
/usr/bin/pwpolicy
Gets and sets password policies
pwpolicy
manipulates password policies.
source: man