Unix Technical Forum

Acount lockout

This is a discussion on Acount lockout within the Linux Operating System forums, part of the Unix Operating Systems category; --> Hello, An easy question for Linux gurus How can I set up a counter of incorrect tries for local ...


Go Back   Unix Technical Forum > Unix Operating Systems > Linux Operating System

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 01-18-2008, 07:13 PM
boomboom999@yahoo.com
 
Posts: n/a
Default Acount lockout

Hello,
An easy question for Linux gurus
How can I set up a counter of incorrect tries for local user accounts
on a Linux box, so that after 3 or 5 tries the account gets temporarily
locked out or suspended?

Any ideas?

Thanks in advance

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old 01-18-2008, 07:13 PM
Lenard
 
Posts: n/a
Default Re: Acount lockout

boomboom999@yahoo.com wrote:

> Any ideas?


From; man passwd

A simple entry in the Linux-PAM configuration file for this service
would be:

#
# passwd service entry that does strength checking of
# a proposed password before updating it.
#
passwd password requisite \
/usr/lib/security/pam_cracklib.so retry=3
passwd password required \
/usr/lib/security/pam_unix.so use_authtok
#




--
"A personal computer is called a personal computer because it's yours,
Anything that runs on that computer, you should have control over."
Andrew Moss, Microsoft's senior director of technical policy, 2005
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump


All times are GMT. The time now is 06:31 PM.


Powered by vBulletin® Version 3.6.5
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.2.0
www.UnixAdminTalk.com