OS: Debian 10.10

Hi all,

Can I specify a minlen option for "user2" but not for "user1"?

Currently, my /etc/pam.d/common-password.conf contains:

password    requisite           pam_pwquality.so minlen=6 user = user2

But the minlen=6 argument is in use for all users.

  • is user2 a unique exception ?
    – MC68020
    Oct 17, 2022 at 10:32
  • @terdon, Ok I understand.
    – CH06
    Oct 17, 2022 at 10:51
  • @MC68020, today is the unique exception.
    – CH06
    Oct 17, 2022 at 10:52

1 Answer 1


Today I declared a long password contains 23 characters for "user2".

I don't like this solution because when he renew the password he don't have a policy/rule to deny the specific minlen for this specific user.

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .