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


Reply
  Search this Thread
Old 12-03-2008, 11:33 AM   #1
HelpMe2877
Member
 
Registered: May 2008
Location: USA
Distribution: CentOS, RHEL, Windows
Posts: 54

Rep: Reputation: 15
Set account lockout without using pam


Is there any way to set failed login attempts to lock the user without going through /etc/pam.d/*?
 
Old 12-03-2008, 12:33 PM   #2
TB0ne
LQ Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 19,321

Rep: Reputation: 4470Reputation: 4470Reputation: 4470Reputation: 4470Reputation: 4470Reputation: 4470Reputation: 4470Reputation: 4470Reputation: 4470Reputation: 4470Reputation: 4470
Quote:
Originally Posted by HelpMe2877 View Post
Is there any way to set failed login attempts to lock the user without going through /etc/pam.d/*?
Yes...check the man page for passwd, I believe it's the "-l" option.
 
Old 12-03-2008, 02:50 PM   #3
HelpMe2877
Member
 
Registered: May 2008
Location: USA
Distribution: CentOS, RHEL, Windows
Posts: 54

Original Poster
Rep: Reputation: 15
and i can set the account to lock itself after say 3 or 5 failed login attempts using passwd?
 
Old 12-03-2008, 03:01 PM   #4
hasanatizaz
Member
 
Registered: Nov 2007
Location: Pakistan
Distribution: Redhat and Debian
Posts: 302
Blog Entries: 1

Rep: Reputation: 34
i think only pam can do this.
 
Old 12-03-2008, 04:05 PM   #5
HelpMe2877
Member
 
Registered: May 2008
Location: USA
Distribution: CentOS, RHEL, Windows
Posts: 54

Original Poster
Rep: Reputation: 15
ok, thanks for the advice. i'll try to do a little more searching on the subject and if i find anything that might be useful i'll be sure to post it
 
  


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
NISPOM Security: PAM account lockout and XScreenSaver Settings ElvisImprsntr Linux - Newbie 3 09-26-2007 07:44 PM
account lockout threshold pasupuleti Programming 3 10-03-2006 01:11 AM
Account lockout threshold moinpasha Linux - Security 10 09-28-2006 08:27 AM
Logging account lockout sbrewer Linux - Security 1 10-22-2005 04:48 PM
Automatic Account lockout jimrt Linux - Security 3 03-26-2003 09:32 PM

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

All times are GMT -5. The time now is 02:21 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration