RHEL7 How to configure password policies based on UID (ranges)

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,


I would need to configure different password policy based on the users UID.

For example:

- UID 1000-1999: Minimum Password Length = 15, 3 different character classes

- UID 2000-2999: Minimum Password Length = 20, 4 different character classes


The /etc/security/pwquality.conf does not seem to have a way to configure different rules based on UID, but I was also unable to get system-auth/password-auth to work properly.


Would anyone have advice on how to achieve the above?


Thanks!

_______________________________________________
Pam-list mailing list
Pam-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/pam-list

[Index of Archives]     [Fedora Users]     [Kernel]     [Red Hat Install]     [Linux for the blind]     [Gimp]

  Powered by Linux