I am not very expert in Linux so please advise me.
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.
when i tired to created user after applying changes from root i can set the password of 7 character also with out special character so means policy is not working ?
When i ran the command chage -l user1 (Created Before Applying changes) it shows default values) however when i ran the same command on user5 which i created after applying changes it shows my applicable values.
Please correct me what i did wrong in this configuration.
actually, my query is to implement a complete password policy.
Password Policy is implemented but got an error when the user prompt for an error.
login as: user5 user5@10.11.0.58’s password:
You are required to change your password immediately (password aged)
Last login: Wed Sep 15 11:12:36 2021 from lap-4.csaplho.pk
WARNING: Your password has expired.
You must change your password now and login again!
Changing password for user user5.
Changing password for user5.
(current) UNIX password:
passwd: Authentication token manipulation erro
Reading a few things, the error sounds to be due to a config error - is anything reaching the logs?
This page suggest that there are setup differences between DEB and RPM systems (like OL) - so, it may be worth a double check.
But… if you can undo your changes, and reimplement each in turn, you may be able to identify the cause and also gain confidence in the changes you’re making.