Review your favorite Linux distribution.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 11-18-2010, 08:33 AM   #1
LQ Newbie
Registered: Nov 2010
Posts: 1

Rep: Reputation: 0

Hi All,

I'm trying to configure PAM on a RHEL5 system.
I put in system.auth
password requisite retry=3 maxrepeat=1 ucredit=0 ocredit=0 minlen=9 dcredit=4 dcredit=-1 reject_username

I have problem with maxrepeat parameter because the parameter does not seem to work (i can create password with 2 same consecutive characters)

Can you help me?

Thanks in advance
Old 12-08-2010, 06:00 PM   #2
Registered: Feb 2006
Posts: 69

Rep: Reputation: 15
I have tried it on centos and it worked on my system. It is the normal user that can't set a password with more than 3 same characters/digits in a row, if he does then he get this message:
BAD PASSWORD: contains too many same characters consecutively

This may be of importance!!!
These modules may be stacked, or placed upon one another, so that multiple modules are used. The order of a module stack is very important in the authentication process, because it makes it very easy for an administrator to require that several conditions exist before allowing user authentication to occur.
Maybe this could be of help :

Last edited by sysslack; 12-08-2010 at 07:01 PM.
Old 02-09-2012, 07:07 AM   #3
LQ Newbie
Registered: Feb 2012
Posts: 1

Rep: Reputation: Disabled
I am facing the same problem on Debian lenny. I think it has to do with the version of the pam_cracklib. When I do "man pam_cracklib", I am not able to see the maxrepeat option.

However, things work fine on another the ubuntu 11.10 machine.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
SELinux: RHEL4 to RHEL5 rules migration - unknown type var_lib_t in RHEL5 zbiggy Red Hat 2 05-12-2009 04:14 AM
pam_cracklib not locking user after 3 bad password attempts legcard Linux - Security 3 06-25-2007 01:28 PM
pam_cracklib password history not working Kyle Harris Linux - Security 1 03-16-2007 12:40 PM
pam_cracklib settings gpm.sei Linux - Security 0 05-18-2006 02:53 PM
Problems with PAM_cracklib options tompower Linux - Security 1 11-03-2004 07:23 PM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 05:47 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration