Warning: Function ereg() is deprecated in ..../includes/class_postbit.php(345) : eval()'d code on line 4

Warning: Function split() is deprecated in ..../includes/class_postbit.php(345) : eval()'d code on line 19

Warning: Function ereg() is deprecated in ..../includes/class_postbit.php(345) : eval()'d code on line 4

Warning: Function split() is deprecated in ..../includes/class_postbit.php(345) : eval()'d code on line 19
Password restrictions
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
    Last edited by Outlaw; 04-27-2006 at 05:05 PM.

    To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.


    To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.


    To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.

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

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
  •