LinuxQuestions.org
Review your favorite Linux distribution.
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


Closed Thread
  Search this Thread
Old 01-07-2010, 12:00 PM   #1
arusre
LQ Newbie
 
Registered: Jan 2010
Posts: 2

Rep: Reputation: 0
Help with PAM remember option


Hi,

How do I configure PAM to use the remember option for the passwd.
It should remember the last 10 passwords and shouldnt allow the user to use the same old passwords.

Here is what I have configured but doesnt work

#%PAM-1.0
# This file is auto-generated.
# User changes will be destroyed the next time authconfig is run.
auth required pam_env.so
auth required /lib64/security/pam_tally.so deny=2 onerr=fail even_deny_root_account unlock_time=5
auth sufficient pam_unix.so likeauth nullok
auth required pam_deny.so

#account required /lib64/security/pam_tally.so
account required pam_unix.so

password required pam_cracklib.so retry=3 minlen=8 difok=3 debug
password required pam_passwdqc.so enforce=everyone min=disabled,8,8,8,8 similar=deny passphrase=0 random=0 match=4
password sufficient pam_unix.so nullok use_authtok md5 shadow debug remember=5
password required pam_deny.so

session optional pam_keyinit.so revoke
session required pam_limits.so
session [success=1 default=ignore] pam_succeed_if.so service in crond quiet use_uid
session required pam_unix.so

Please help.

Thanks & Regards,
Arusre.
 
Old 01-07-2010, 12:08 PM   #2
win32sux
LQ Guru
 
Registered: Jul 2003
Location: Los Angeles
Distribution: Ubuntu
Posts: 9,870

Rep: Reputation: 380Reputation: 380Reputation: 380Reputation: 380
arusre, you already have a thread for this.

Last edited by win32sux; 01-07-2010 at 12:16 PM.
 
  


Closed Thread


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
PAM passwd reuse option remember arusre Linux - Software 0 01-06-2010 02:12 PM
Get LILO to remember last boot option underberg Linux - General 9 03-30-2005 04:27 AM
Need help with remember=10 option tonyfreeman Linux - Security 1 10-27-2004 03:57 PM
vsftpd + pam + virtual users - Pam cannot load database file. mdkelly069 Linux - Networking 3 09-22-2004 11:07 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Security

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

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration