The policy management commands in the MIT kadmin utility were modified to work with an LDAP directory. The policies control the password of the Kerberos principals. The Kerberos password policies come into effect only when the Kerberos passwords of the principals are different from the eDirectory user passwords. When the Kerberos passwords are the same as the user's passwords, the NSPM password policy is effective.
You can use one of the following methods to add a password policy:
This command creates a password policy object, in the directory.
add_policy [-maxlife time] [-minlife time] [-minlength length] [-minclasses number] [-history number] policy
Table 3-26 add_policy Parameters
For example, enter the following at the kadmin prompt:
add_policy -maxlife "2 days" -minlength 5 guestpolicy
In Novell iManager, click the .
Select
> .Refer to the iManager online help for more information.
You can use one of the following methods to modify the password policy:
To modify a policy, enter the following at the kadmin prompt:
modify_policy [-maxlife time] [-minlife time] [-minlength length] [-minclasses number] [-history number] policy
For more information on the options, refer to Table 3-26.
For example, enter the following at the kadmin prompt:
modify_policy -minlife "1 day" -minclasses 2 guestpolicy
In Novell iManager, click the .
Select
> .Refer to the iManager online help for more information.
You can use one of the following methods to delete a password policy:
This command deletes the specified policy from the directory. It fails if the policy is in use by any principal.
To delete a policy, enter the following at the kadmin prompt:
delete_policy [-force] policy
For example, enter the following at the kadmin prompt:
delete_policy guestpolicy
You are prompted to confirm the deletion as follows:
Are you sure you want to delete the policy "guestpolicy"? (yes/no):
Enter yes to proceed with the deletion.
In Novell iManager, click the .
Select
> .Refer to the iManager online help for more information.
You can view the values of the specified policy as follows:
get_policy [-terse] policy
The -terse flag outputs the fields as quoted strings separated by tabs.
For example:
get_policy guestpolicy
This gives the following output:
Policy: guestpolicy Maximum password life: 172800 Minimum password life: 86400 Minimum password length: 5 Minimum number of password character classes: 2 Number of old keys kept: 1 Reference count: 0
You can list all the password policies as follows:
list_policies
This gives the following output:
kadmin: listpols
test-pol
dict-only
once-a-min
test-pol-nopw
kadmin: listpols t*
test-pol
test-pol-nopw
kadmin: