LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
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 02-20-2004, 03:16 AM   #1
bin_shell
Newbie
 
Registered: Dec 2003
Posts: 19

Rep: Reputation: 0
How to set the password policy and lockout policy


I want to know the password policy and lockout policy,such as min length,complex requirement.lockout counter
 
Old 02-23-2004, 04:09 PM   #2
unSpawn
Moderator
 
Registered: May 2001
Posts: 29,415
Blog Entries: 55

Rep: Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600
AFAIK it's /etc/login.defs which is deprecated on PAM enabled systems (/etc/pam.d).
 
Old 03-24-2010, 09:54 AM   #3
smartyshan
LQ Newbie
 
Registered: Jun 2007
Location: Riyadh,KSA
Distribution: Redhat,Ubuntu,Solaris
Posts: 24

Rep: Reputation: 15
Quote:
Originally Posted by bin_shell View Post
I want to know the password policy and lockout policy,such as min length,complex requirement.lockout counter
you can use pam_passwdqc module in /etc/pam.d/system-auth file

for example :

password required pam_passwdqc.so min=disabled,12,8,6,5 max=40
 
Old 03-24-2010, 10:31 AM   #4
jschiwal
LQ Guru
 
Registered: Aug 2001
Location: Fargo, ND
Distribution: SuSE AMD64
Posts: 15,733

Rep: Reputation: 682Reputation: 682Reputation: 682Reputation: 682Reputation: 682Reputation: 682
For locking out users after a certain number of failures, look at pam_tally. Also look at man 8 faillog.
 
Old 03-24-2010, 03:30 PM   #5
win32sux
LQ Guru
 
Registered: Jul 2003
Location: Los Angeles
Distribution: Ubuntu
Posts: 9,870

Rep: Reputation: 380Reputation: 380Reputation: 380Reputation: 380
smartyshan, please don't resurrect dead threads — help us keep LQSEC as zombie-free as possible.
 
  


Closed Thread



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
Samba System Policy, Default User Policy scooter549 Linux - General 2 02-24-2009 02:23 AM
Account Lockout Policy in Linux? wardialer Linux - Security 15 02-19-2009 09:38 AM
Implementing password policy ddaas Linux - Security 3 12-31-2004 02:02 PM
Linux Password Policy MaverickApollo Linux - Security 2 02-07-2004 06:49 AM

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

All times are GMT -5. The time now is 06:55 PM.

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