The following example uses the add_policy command of kadmin to create the build11 policy that requires at least 3 character classes in a password.
$ kadmin kadmin: add_policy -minclasses 3 build11 kadmin: quit