Results 1 to 2 of 2

Thread: Password restrictions

  1. #1
    Associate
    Join Date
    Mar 2006
    Posts
    21

    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:

    http://www.puschitz.com/SecuringLinux.shtml

    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 pam_cracklib.so, 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
    Location
    Clifton Park, NY
    Posts
    630
    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.
    Code:
    lcredit=-1 ucredit=-1 dcredit=-1 ocredit=-1

Similar Threads

  1. Access denied for user: '@192.168.0.71' (Using password: NO)
    By infinite_root in forum Linux - Hardware, Networking & Security
    Replies: 3
    Last Post: 11-20-2008, 01:10 AM
  2. Win2K3 Password Backup State Remove
    By DJX in forum Windows - General Topics
    Replies: 1
    Last Post: 12-08-2006, 12:29 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. Dial-Up Networking Password Is Not Saved
    By regix in forum Windows - General Topics
    Replies: 0
    Last Post: 01-01-2005, 01:31 AM
  5. Troubleshooting wvdial
    By Infohawk in forum Linux - General Topics
    Replies: 5
    Last Post: 02-25-2002, 03:52 AM

Bookmarks

Posting Permissions

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