password policy

Issues related to applications and software problems and general support
Post Reply
sharingan
Posts: 14
Joined: 2019/04/26 12:44:13

password policy

Post by sharingan » 2020/06/30 14:32:11

Hi experts

while i was trying to change password policy in system-auth

found below lines

password requisite pam_pwquality.so try_first_pass local_users_only retry=3 authtok_type=

Password sufficient pam_unix.so sha512 shadow nullok try_first_pass use_authtok

password required pam_deny.so

can you please help me with below queries

1) which line i need to edit and why ?

2) To include one special character and a upper case what i need to change .

3) pwquality is it the library file ?

User avatar
TrevorH
Forum Moderator
Posts: 28831
Joined: 2009/09/24 10:40:56
Location: Brighton, UK

Re: password policy

Post by TrevorH » 2020/06/30 14:34:31

man pam_pwquality might help
CentOS 6 will die in November 2020 - migrate sooner rather than later!
Info for USB installs on http://wiki.centos.org/HowTos/InstallFromUSBkey
CentOS 5 is dead, do not use it.
Full time Geek, part time moderator. Use the FAQ Luke

sharingan
Posts: 14
Joined: 2019/04/26 12:44:13

Re: password policy

Post by sharingan » 2020/06/30 15:47:40

Thanks , checking for all pam cases (pam_unix , pam_sufficient) in man page .
Just a query remain here how it works without library files

Post Reply

Return to “CentOS 8 - General Support”