Review your favorite Linux distribution.
Go Back > Forums > Linux Forums > Linux - Security
User Name
Linux - Security This forum is for all security related questions.
Questions, tips, system compromises, firewalls, etc. are all included here.


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

Rep: Reputation: 0
Help with PAM remember option


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

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

#account required /lib64/security/
account required

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

session optional revoke
session required
session [success=1 default=ignore] service in crond quiet use_uid
session required

Please help.

Thanks & Regards,
Old 01-07-2010, 12:08 PM   #2
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 > Forums > Linux Forums > Linux - Security

All times are GMT -5. The time now is 06:05 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