LinuxQuestions.org
Register a domain and help support LQ
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 10-26-2004, 01:58 PM   #1
tonyfreeman
Member
 
Registered: Sep 2003
Location: Fort worth, TX
Distribution: Debian testing 64bit at home, EL5 32/64bit at work.
Posts: 187

Rep: Reputation: 30
Disable an account for 45 minutes


Hello!

I would like to somehow configure things so that when a user fails to provide the correct password after 5 attempts, that user account is locked for 45 minutes.

In the /etc/pam.d/passwd file I have this line:

account required /lib/security/pam_tally.so deny=5 no_magic_root reset

The /etc/pam.d/passwd file is configured to lock that person out of his/her account if he/she fails to provide the correct password after 5 times.

Is there currently a way to unlock the account after a configurable number of minutes? What would the correct entry look like to enable this?

-- Tony
 
Old 10-26-2004, 05:18 PM   #2
320mb
Senior Member
 
Registered: Nov 2002
Location: pikes peak
Distribution: Slackware, LFS
Posts: 2,577

Rep: Reputation: 47
is there an /etc/login.defs ??
this can be configured also............
 
Old 10-31-2004, 05:01 PM   #3
unSpawn
Moderator
 
Registered: May 2001
Posts: 26,952
Blog Entries: 54

Rep: Reputation: 2732Reputation: 2732Reputation: 2732Reputation: 2732Reputation: 2732Reputation: 2732Reputation: 2732Reputation: 2732Reputation: 2732Reputation: 2732Reputation: 2732
//Moderator note: you have crossposted a message, which is against the LQ Rules. Cross-posting is considered bad netiquette on your part, a waste of resources on LQ's part and a waste of time for LQ members who take the time your question.
Please do not do that again.

FUP to: http://www.linuxquestions.org/questi...hreadid=248414
 
  


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
Root's account has been disable by system administrator Tidus4Yuna Red Hat 4 11-15-2005 11:41 PM
cyrus email account linux account nobu Linux - Enterprise 0 10-31-2005 03:16 AM
Disable passwd change for user account sodhilogin Linux - General 6 09-01-2004 12:43 AM
How to disable an account from remote accessing hanxuerui Linux - Security 11 07-17-2003 10:09 AM
init id 1 respawning too fast : disable for 5 minutes nogor Linux - General 1 06-10-2003 08:56 AM


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

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration