LinuxQuestions.org
Help answer threads with 0 replies.
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 02-11-2010, 09:35 AM   #1
chetan_linux
Member
 
Registered: Aug 2008
Posts: 61

Rep: Reputation: 1
Lightbulb Password policy


Hi All,

I want to enforce a password policy in red hat linux like Password length should not exceed 10 characters, first letter should be CAPS, one special character and password will be valid only for 15 days.

Chetan Singh
 
Old 02-11-2010, 10:57 AM   #2
anomie
Senior Member
 
Registered: Nov 2004
Location: Texas
Distribution: RHEL, Scientific Linux, Debian, Fedora
Posts: 3,935
Blog Entries: 5

Rep: Reputation: Disabled
The two most useful PAM password modules, in order of my own preference, are pam_passwdqc and pam_cracklib. They can both enforce certain characteristics related to password strength. What you're looking to do is constrain the strength of a password (in a bad way). AFAIK, you'd need to write your own PAM module -- or dig one up that someone else wrote -- to do this.

For password aging, see the manpages for chage(1).
 
Old 02-14-2010, 02:42 AM   #3
blackhat_hk
LQ Newbie
 
Registered: Feb 2010
Posts: 3

Rep: Reputation: 0
also check /etc/login.defs file .
 
  


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
password policy Nick Pontelando Linux - Security 9 08-15-2012 09:50 AM
How to set the password policy and lockout policy bin_shell Linux - Security 4 03-24-2010 03:30 PM
Password policy vbo Linux - Security 3 07-09-2009 05:16 PM
Password Policy jagnikam Linux - Security 1 08-22-2008 02:47 PM
Password policy Bharat Kumar pankaj Linux - Server 1 08-17-2008 01:47 AM

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

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