Find the answer to your Linux question:
Results 1 to 2 of 2
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1

    Lightbulb Password Authentication

    Hi All,

    I have a requirement to set the system password with the below mentioned configuration using PAM module.

    The product shall enforce all passwords to include at least
    eight characters in length and three or more of following combinations:
    at least one lower and upper case alpha character, at least one numeral (0-9), and a special character.

    i have placed the below mentioned tags in /etc/pam.d/common-password file

    password required retry=5  minlen=8 dcredit=1 ucredit=1 lcredit=1 ocredit=1 difok=3
     password required use_authtok nullok md5
    when I am adding users, using useradd , these authentication is not working...
    where as when i am trying to change password using passwd command password check is working....

    let me know in which other file i have to change so that while adding new users these password check is made...


  2. #2
    What about setting a password at the beginning? Then the changes would have to be ok (?)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts