The following slides show you the most important settings, and the profile parameters with which you can control password and logon rules. Control using these values should protect your system against any type of misuse by users.

There are two ways in which you can control the choice of user passwords:
You can use the system profile parameters to assign a minimum length for passwords and define how often users must set new passwords.
Invalid passwords can be entered in the table of reserved passwords, USR40. This table is maintained with transaction SM30. The entries can also be made generically:
"?" denotes a single character
"*" denotes a character string
Example:
If you enter "123*" in table USR40, passwords may not begin with the character string "123*".
If you define "*ABC*", passwords cannot contain the character string "ABC" in any position.
There are general rules for passwords that cannot be deactivated. A password:
Must be at least six characters long (by default)
Must not begin with "?" or "!"
Must not be "pass"
The new password must differ from the old one by at least one character
Hint
The setting that determines if users must create a new password that differs from the previous five passwords they have entered is no longer mandatory. You can use the login/password_history_size parameter to set the history from between 1 and 100. The proposed standard value remains 5.
There are also a number of predefined password rules, which are shown on the next slide.

There are now around 30 profile parameters in the SAP system that start with "login". Due to the large number of parameters, only a few have been listed here as examples. For more information, see the parameter descriptions (for transaction RZ11) or the online documentation.
- login/min_password_lng
You can set the minimum length for passwords with the parameter login/min_password_lng. By default, the password must be at least "6" and no more than "40" characters long. The parameters login/min_password_digits, login/min_password_letters, login/min_password_lowercase, login/min_password_uppercase, and login/min_password_specials specify the minimum number of digits, letters (number of upper and lower case) or special characters that a password must contain. The value range is 1 to 40.
- login/password_expiration_time
The parameter login/password_expiration_time specifies the number of days after which a user must set a new password. If the parameter is set to 0, the user does not need to change his or her password.
- login/password_max_idle_initial
The parameter login/password_max_idle_initial indicates the maximum length of time during which an initial password (a password selected by the user administrator) remains valid if it is not used. Once this period has expired, the password can no longer be used for authentication. The user administrator can reactivate the password logon by assigning a new initial password.
- login/password_max_idle_productive
This parameter indicates the maximum length of time a productive password (a password chosen by the user) remains valid when it is not used. Once this period has expired, the password can no longer be used for authentication. The user administrator can reactivate the password logon by assigning a new initial password.
- login/min_password_diff
With the parameter login/min_password_diff, the administrator can determine the number of different characters a new password must possess in comparison with the old one when users change their passwords. This parameter does not take effect when a new user is created or passwords are reset (==> initial password).

- login/fails_to_session_end
You can set the number of failed logon attempts after which SAP GUI is terminated using the parameter login/fails_to_session_end. If the user wants to try again, he or she must restart SAP GUI.
- login/fails_to_user_lock
You can set the number of failed logon attempts after which a user is locked in the SAP system using the parameter login/fails_to_user_lock. An entry is written in the system log at the same time. The failed logon counter is reset after a successful logon attempt.
- login/failed_user_auto_unlock
At midnight (server time), the users that were locked as a result of incorrect logon attempts are no longer automatically unlocked by the system (default value since SAP NetWeaver 7.0). You reactivate this automatic unlocking with the parameter login/failed_user_auto_unlock = 1.
The administrator can unlock, lock, or assign a new password to users in user maintenance (transaction SU01).
- login/disable_multi_gui_login
If the parameter login/disable_multi_gui_login is set to 1, a user cannot log on to a client more than once. This can be desirable for system security reasons. This parameter applies to SAP GUI logons. If the parameter is set to 1, the user has the following options when he or she logs on again: "Continue with this logon and end any other logons in the system" or "Terminate this logon". Users to whom this should not apply should be specified in the parameter login/multi_login_users, separated with commas, and with no spaces.
The following parameters add a new level of detail to the implementation of the password policy in the SAP system.
- login/min_password_lowercase
login/min_password_lowercase: In accordance with the parameter value, the password must contain at least "x" lowercase letters. The default value is "0".
- login/min_password_uppercase
login/min_password_uppercase: The parameter value defines the minimum number of uppercase letters a password must have. The default value is "0".
- login/password_change_waittime
login/password_change_waittime: Users can change their passwords again only after waiting for a specified amount of time. The default value is "1", which means the user must wait a day to change his or her password again. User administrators, however, can change or reset the password of users as many times in a day as they need.
- login/password_charset
login/password_charset: The default value is "1". This parameter is used only if downward compatible passwords need to be generated. It specifies which characters can be used in the password. All Unicode characters are allowed, by default.
- login/password_downwards_compatibility
login/password_downwards_compatibility: The system generates downward compatible password hashes, which correspond to an "8" character long password. Downward compatibility is required for RFC communication with older SAP releases. The default value is "1".