Password complexity and login options

Adaptive Server version 12.5.4 introduces a combination of new and old mechanisms that allows you to establish rules about passwords for new logins or for passwords that are being reset.

As with earlier versions of Adaptive Server, you can:

However, Adaptive Server version 12.5.4 you can also:

You can set each of these new options in the Adaptive Server plug-in, or you can use a new stored procedure:

 sp_passwordpolicy 'set', option, value

For information about each new option and its valid values, see New password complexity checks below.

Setting new password complexity options creates a row for each option in the sysattributes table. As long as the row for the new option exists, precedence checking uses the new option value and ignores any older corresponding option values.

To return to earlier versions of password rules, either unselect the password complexity options using the Adaptive Server plug-in, or use:

sp_passwordpolicy 'clear’, option

The new password complexity options also have cross checks. For example, if the sum of the min lower case in password and min upper case in password is greater than the min alpha in password, a warning message displays.