FairCom Server supports setting the following requirements for user account passwords:
These options can be set server-wide by adding the following options to ctsrvr.cfg:
SUBSYSTEM SECURITY PASSWORD {
MINIMUM_LENGTH length
REQUIRED_CLASSES classes
EXPIRE_IN_DAYS days
}
For example, to require passwords to be at least 8 characters, to require having at least 3 of the 4 character classes, and to expire passwords after 180 days, add the following to ctsrvr.cfg:
SUBSYSTEM SECURITY PASSWORD {
MINIMUM_LENGTH 8
REQUIRED_CLASSES 3
EXPIRE_IN_DAYS 180
}
This subsystem can be specified in a server settings file to prevent these settings from being changed in the configuration file or at runtime.
If the minimum length and required classes settings are changed in the configuration file or at runtime, they do not affect existing passwords because only a hash of the password is stored. The time to expiration takes effect immediately even for existing user accounts.
When changing subsystem options at runtime (for example, using ctadmn), either the entire subsystem or particular subsystem options might be blocked by having been specified in a settings file. In both cases, the attempt to change the options fails with error SETO_ERR (804), even if some of the subsystem options are not blocked. If SETO_ERR occurs when specifying multiple options at runtime, check CTSTATUS.FCS for a message indicating which options are blocked and try again with just those options that are not blocked.