Linux – use pdbedit to change password policy

pdbedit -P "min password length" -C 8

pdbedit -P "password history" -C 4

#maximum password age value in seconds, -1 disable it
pdbedit -P "maximum password age" -C 7776000

pdbedit -P "minimum password age" -C 604800

pdbedit -P "bad lockout attempt" -C 8

pdbedit -P "lockout duration" -C -1

 

Leave a Reply

Your email address will not be published.

*