Linux Operating System (MOSC)

MOSC Banner

Password Policy Implementation - Password Length

I have Oracle Linux 7.6 (Unbreakable) and wanted to configured Password Policy according to my organization therefore I have altered three files 1. Login.defs 2. Pwquality.conf 3. system-auth.

In Login.defs i have changed the value

PASS_MAX_DAYS = 3 PASS_MIN_DAYS = 1 PASS_MIN_LEN = 9 PASS_WARN_AGE 1

Pwquality

minlen = 9 minclass = 2 minrepeat = 2

System-auth

added line after Password sufficient remember=3


Problem :

Password aging is working fine let's say the user prompt to change the password after expiry time duration but length parameters are not working fine like i can set 7 character password and same prompt for me.


oot@localhost:~[?1034h[root@localhost ~]# chage -l user7
Tagged:

Howdy, Stranger!

Log In

To view full details, sign in to My Oracle Support Community.

Register

Don't have a My Oracle Support Community account? Click here to get started.

Category Leaderboard

Top contributors this month

New to My Oracle Support Community? Visit our Welcome Center

MOSC Help Center