Results 1 to 2 of 2

Thread: Password restrictions

  1. #1
    Join Date
    Mar 2006

    Password restrictions

    We are running RedHat AS 3.0 (64bit). I am trying to tighten things up, starting with the passwords.

    Using this link as a guide:

    I've edited /etc/login.defs, and /etc/default/useradd. That all works.

    However, when I edit /etc/pam.d/system-auth, and add the minlen=8 parameter to the, it doesn't seem to take.

    The author references that pam_cracklib modules might need to be patched.

    Is that what is happening here?

  2. #2
    Advisor Outlaw's Avatar
    Join Date
    May 2001
    Clifton Park, NY
    Should be no need to patch. Make sure you also use the negative values for upper, lower, other symbol etc. Otherwise they are treated as credits toward the 8, reducing the total number of characters needed for the password. Also, make sure you are a regular user when testing.

    I tried the same thing on an FC5 box. by adding only minlen=8, I could not make it work, but adding the following, along with minlen=8 worked better.
    lcredit=-1 ucredit=-1 dcredit=-1 ocredit=-1

Similar Threads

  1. password
    By vinay in forum Windows - General Topics
    Replies: 2
    Last Post: 01-08-2007, 10:17 AM
  2. Password
    By lucofearl in forum Windows - General Topics
    Replies: 3
    Last Post: 12-18-2006, 12:24 PM
  3. password restrictions, multiple users
    By sabre in forum Linux - Software, Applications & Programming
    Replies: 6
    Last Post: 04-22-2006, 07:22 AM
  4. Apache Restrictions
    By Ashcrow in forum Linux - Hardware, Networking & Security
    Replies: 3
    Last Post: 06-19-2002, 12:47 AM
  5. ProFTP restrictions
    By rbrugman in forum Mandriva
    Replies: 3
    Last Post: 04-19-2002, 03:27 PM


Posting Permissions

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