![]() | Oracle System Handbook - ISO 7.0 May 2018 Internal/Partner Edition | ||
|
|
![]() |
||||||||||||||||||
Solution Type Technical Instruction Sure Solution 819113.1 : How to Customize Linux Password Expiration and Complexity Requirements
In this Document
Applies to:Linux OS - Version 2.4 and laterExadata X3-2 Hardware - Version All Versions and later Linux x86-64 Linux x86 *** Reviewed for currency on 2017-02-08 GoalThis note tells how to configure Linux password policy, focussing on password expiration and complexity. Solution1. Password ExpirationTo set the default password expiration when creating new accounts on Oracle Linux, edit the /etc/login.defs file. PASS_MAX_DAYS 100
Which means the maximum number of days a password may be used. Please run: $ man login.defs
for more options can be set in /etc/login.defs. 2. Password ComplexityThe PAM module pam_cracklib can be used to force password complexity requirements. The complexity can be specified with the following options:
Here is an example line in /etc/pam.d/system-auth: password required /lib/security/$ISA/pam_cracklib.so retry=3 minlen=10 dcredit=-1 ucredit=-1 lcredit=-1 ocredit=-1
Attachments This solution has no attachment |
||||||||||||||||||
|