i have implemented new passwd policy and forced users to change their password the proble is they dont know what they should insert as new password. i want to display a message like this one "passwd minimum length 8, must have 1 upper, 1 lower, 1 digit) or something like this instead of "BAD PASSWRD: its WAY too short" ... any help will be appreciated
tnx in advance

Hello Moe2!

You may want to look into using pam_passwdqc.so. If configured correctly, it should tell the user what's acceptable when the passwd command is invoked.

I hope this helps!
-G

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.