| United States-English |
|
|
|
![]() |
Installing, Configuring and Administering the Kerberos Server on HP-UX 11i: HP 9000 Networking > Chapter 4 AdministrationPolicies |
|
A policy is a set of rules governing passwords. Policies can dictate minimum and maximum password lifetimes, minimum number of characters and character classes a password must contain, and the number of old passwords kept in the database. To add a new policy, use the kadmin.local add_policy command, which requires the "add" administrative privilege in the acl file. The general syntax is: add_policy [options] policy_name
In the above example, a policy named, "default" is added with the options to specify the minimum password length to be eight characters long and it should have a minimum of two character classes. If a default policy has been created and if no policy is specified adding principals then this default policy is applied to those principals. To modify attributes of a principal, use the kadmin.local modify_policy command, which requires the "modify" administrative privilege. The general syntax is: modify_policy [options] policy_name
In the above example, we have modified the policy "default", to specify the minimum password length to be five characters and the minimum number of password classes to be three. To retrieve a policy, use the kadmin.local get_policy command, which requires the "inquire" administrative privilege. The general syntax is: The get_policy command has the alias getpol. For example,
The reference count is the number of principals that are using that policy. The get_policy command has a -terse option, which lists each field as a quoted, tab-separated string. For example: kadmin.local: get_policy -terse admin You can retrieve a list of policies with the kadmin.local list_policies command, which requires the "list" privilege. The general syntax is: where expression is a shell-style global expression that can contain the wildcard character '*'. All policy names matching the expression are displayed. The list_policies command has the alias listpols. For example: kadmin.local: listpols To delete a policy, use the kadmin.local delete_policy command, which requires the "delete" administrative privilege. The general syntax is: The delete_policy command has the alias delpol. It prompts for a confirmation before deletion. For example: kadmin.local: delete_policy guests
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
|||||||||||||||