LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
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!

Notices

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

Rep: Reputation: 0
RHEL5 - pam_cracklib.so


Hi All,

I'm trying to configure PAM on a RHEL5 system.
I put in system.auth
password requisite pam_cracklib.so 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, 05:00 PM   #2
sysslack
Member
 
Registered: Feb 2006
Posts: 69

Rep: Reputation: 15
Hi!
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 :
http://content.hccfl.edu/pollock/AUnix2/PAM-Help.htm
http://www.centos.org/docs/2/rhl-rg-...fig-files.html

Last edited by sysslack; 12-08-2010 at 06:01 PM.
 
Old 02-09-2012, 06:07 AM   #3
kvijayan
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.
 
  


Reply


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 03:14 AM
pam_cracklib not locking user after 3 bad password attempts legcard Linux - Security 3 06-25-2007 12:28 PM
pam_cracklib password history not working Kyle Harris Linux - Security 1 03-16-2007 11:40 AM
pam_cracklib settings gpm.sei Linux - Security 0 05-18-2006 01:53 PM
Problems with PAM_cracklib options tompower Linux - Security 1 11-03-2004 06:23 PM


All times are GMT -5. The time now is 04:40 PM.

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