diff options
author | Rob Crittenden <rcritten@redhat.com> | 2010-06-02 14:08:50 -0400 |
---|---|---|
committer | Rob Crittenden <rcritten@redhat.com> | 2010-06-22 13:58:04 -0400 |
commit | 901ccc1393a7e494f7b1b64eaeb2f7809056aafa (patch) | |
tree | b9523a814ed72e08ac286134bb45cf07e6e053f4 /ipalib/plugins/pwpolicy.py | |
parent | 8c6c93125f344ca117cc24b2e96c55b1d9ae31bd (diff) | |
download | freeipa-901ccc1393a7e494f7b1b64eaeb2f7809056aafa.tar.gz freeipa-901ccc1393a7e494f7b1b64eaeb2f7809056aafa.tar.xz freeipa-901ccc1393a7e494f7b1b64eaeb2f7809056aafa.zip |
First pass at per-command documentation
Diffstat (limited to 'ipalib/plugins/pwpolicy.py')
-rw-r--r-- | ipalib/plugins/pwpolicy.py | 37 |
1 files changed, 37 insertions, 0 deletions
diff --git a/ipalib/plugins/pwpolicy.py b/ipalib/plugins/pwpolicy.py index e5b605d7e..e7cfab654 100644 --- a/ipalib/plugins/pwpolicy.py +++ b/ipalib/plugins/pwpolicy.py @@ -18,6 +18,43 @@ # Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA """ Password policy + +A password policy sets limitations on passwords including maximum lifetime, +minimum lifetime, number of passwords to save in history, number of character +classes required (for stronger passwords) and the password minimum length. + +By default there is a single global policy for all users. One can also +create a password policy associate with a group. A user has only one +password policy, either the group policy or the global policy. A group +policy stands alone, it isn't a super-set of the global policy plus +custom settings. + +Each group password policy requires a unique priority setting. If a user +is in multiple groups that have password policies this priority determines +which password policy is applied. The lower the value the higher the priority. + +A group password policy is automatically removed when the group it is +assicated with it is removed. + +EXAMPLES: + + Update the global policy: + ipa pwpolicy-mod --minlength=10 + + Create a group password policy: + ipa pwpolicy-add --maxlife=90 --minlife=1 --history=10 --minclasses=3 --minlength=8 --priority=10 localadmins + + Display the global password policy: + ipa pwpolicy-show + + Display a group password policy: + ipa pwpolicy-show localadmins + + Display the policy that would be applied to a given user: + ipa pwpolicy-show --user=tuser1 + + Modify a group policy: + ipa pwpolicy-mod --minclasses=2 localadmins """ from ipalib import api |