Managing Password Strength and Password GenerationThe DCE password format policy described in Maintaining Policies and Properties enables you to control the following characteristics of user passwords: · Minimum password length · Whether a password can be all spaces · Whether a password can consist of alphanumeric characters only You can extend these password strength policies in your cell by creating a password management server to perform customized password checking and generation. DCE provides an example password validation/generation server, pwd_strengthd(8sec), which you can use as the basis for a password management server that suits your cell's requirements. DCE also provides a Password Management API that application developers can use to acquire information about the principal's password management policy, and to request generated passwords from the password management server. See the OSF DCE Application Development Guide - Core Components for information on the Password Management API. Having created this server, you can then constrain a principal's password to be validated by this server when it is created and whenever it is changed. You do this by attaching instances of the pwd_val_type and pwd_mgmt_binding ERAs to the principal as follows:
pwd_val_type
0
1
2
3
pwd_mgmt_binding The following is an example of a dcecp command to create a principal and attach pwd_val_type and pwd_mgmt_binding ERAs: dcecp> principal create smitty -attribute {{pwd_val_type 2} \ {pwd_mgmt_binding \ {dce /.:/pwd_strength pktprivacy secret name} \ {/.:/pwd_mgmt/pwd_strength}}}} dcecp> For further information on how to use dcecp to attach ERAs to principals, see Creating and Using Extended Registry Attributes. For information on requesting generated passwords when changing a password, see Generating Passwords with dcecp. For information on configuring a password management server, see the following topics and OSF DCE Administration Guide - Introduction. More: Managing a Password Management Server Generating Passwords by Using dcecp
|