LinuxQuestions.org
Did you know LQ has a Linux Hardware Compatibility List?
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Ubuntu
User Name
Password
Ubuntu This forum is for the discussion of Ubuntu Linux.

Notices

Reply
 
Search this Thread
Old 02-07-2012, 06:44 AM   #1
sulekha
Member
 
Registered: Dec 2004
Location: India
Distribution: ubuntu 10.04 , centos 5.5 , Debian lenny, Freenas
Posts: 324

Rep: Reputation: 36
Question How will you implement account lockout policy in linux?


Hi all,

What are the commands or directory were I could set the number of Bad logon attemps and so forth in ubuntu linux (10.04) ?
 
Old 02-07-2012, 05:03 PM   #2
NEQTAN
Member
 
Registered: Jan 2012
Location: ND USA
Distribution: Linux Mint 12
Posts: 52

Rep: Reputation: 1
account lockout after failed log in...

There is no feature in the gui to setup this action. So in short, I could find no directory in that regard.

However there is a command I found. Faillog. It's path should be (if it is installed) /var/log/faillog.

Here are some links to read that will teach you how to use the command:

http://manpages.ubuntu.com/manpages/...faillog.8.html (recommended)

http://blog.bodhizazen.net/linux/ubuntu-how-to-faillog/

http://linux.die.net/man/8/faillog

That should do it. Have fun.

PS

I found the information above through google, searching the following query's:

"failed login lockout policy linux ubuntu 10.04"

This did not print any links that fit. But there were some keywords I picked up.

So refining the search a little got the answer:

"lockout failed login attempts ubuntu 10.04"

In this search, there was even a link to LQ where there was a similar discussion but pam_tally was used for this same task.

Finally I searched "faillog"
 
Old 02-10-2012, 01:00 AM   #3
sulekha
Member
 
Registered: Dec 2004
Location: India
Distribution: ubuntu 10.04 , centos 5.5 , Debian lenny, Freenas
Posts: 324

Original Poster
Rep: Reputation: 36
Question

I was going through this page http://blog.bodhizazen.net/linux/ubuntu-how-to-faillog/

can any one explain what does the following line mean ?

auth required pam_tally.so per_user onerr=fail

especially per_user onerr=fail means ?
 
Old 02-10-2012, 07:33 PM   #4
NEQTAN
Member
 
Registered: Jan 2012
Location: ND USA
Distribution: Linux Mint 12
Posts: 52

Rep: Reputation: 1
Try this:

http://linux.die.net/man/8/pam_tally

I think referring to the manuals will always prove most helpful.

So if there is a command or a software or anything like that. I will simply go to google and type in:

faillog manual

or

pam_tally manual

or

gnome manual

There are many manuals that can be read in terminal as well.

You may try $ pam_tally -h in a terminal. See if there is a "man" (manual).

Also read this forum thread:

http://www.linuxquestions.org/questi...-rhel5-624257/

I hope this helps.

Neq
 
  


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
How to set the password policy and lockout policy bin_shell Linux - Security 4 03-24-2010 03:30 PM
Account lockout with PAM thllgo Linux - Security 1 04-22-2009 02:54 PM
Account Lockout Policy in Linux? wardialer Linux - Security 15 02-19-2009 09:38 AM
Logging account lockout sbrewer Linux - Security 1 10-22-2005 03:48 PM
Automatic Account lockout jimrt Linux - Security 3 03-26-2003 08:32 PM


All times are GMT -5. The time now is 02:44 PM.

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