LinuxQuestions.org
Go Job Hunting at the LQ Job Marketplace
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Security
User Name
Password
Linux - Security This forum is for all security related questions.
Questions, tips, system compromises, firewalls, etc. are all included here.

Notices

Reply
 
Search this Thread
Old 11-07-2011, 05:20 PM   #1
rosect
LQ Newbie
 
Registered: Oct 2011
Posts: 19

Rep: Reputation: Disabled
pam_cracklib and pam_unix


On my Fedora14, I need pam_unix to keep password history. However, it seems that pam_cracklib must be included in the /etc/pam.d/system-auth as well. If I comment out pam_cracklib, I can not change password at all. I do not want pam_cracklib because I have my own rules to validate a new password. So, I added these options to pam_cracklib:
password requisite pam_cracklib.so difok=0 difignore=0 lcredit=0 ucredit=0 dcredit=0 ocredit=0 minlen=4

When I try (as an experiment) to use new password "abcd12", system still says "BAD PASSWORD: it is too simplistic/systematic".

Is there a way to "disable" pam_cracklib's validating a password or to configure not to use pam_cracklib with pam_unix?

Last edited by rosect; 11-07-2011 at 05:36 PM.
 
Old 11-07-2011, 07:14 PM   #2
rosect
LQ Newbie
 
Registered: Oct 2011
Posts: 19

Original Poster
Rep: Reputation: Disabled
Solution is to remove "use_authtok" from pam_unix.

Thanks.
 
  


Reply

Tags
general, security


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
RHEL5 - pam_cracklib.so danpd Linux - Newbie 2 02-09-2012 06:07 AM
[SOLVED] pam_unix ednar Linux - Software 1 07-14-2010 01:52 PM
pam_cracklib settings gpm.sei Linux - Security 0 05-18-2006 01:53 PM
pam_unix in logfile jkmartha Linux - Newbie 1 05-04-2005 09:40 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 08:42 AM.

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