LinuxQuestions.org
Help answer threads with 0 replies.
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 04-19-2005, 09:03 AM   #1
maddude
LQ Newbie
 
Registered: Mar 2005
Distribution: Gentoo
Posts: 1

Rep: Reputation: 0
Possible? User auto-lockout after failed num of logins via X


Dear all,

I'm on Ubuntu Hoary 5.04. I need to have the following feature to control the amount of time a user can logon to the system. For example, after 3 hours the system would warn that its logging out in 5 mins and the boots the user to the login screen and not let the user login again till maybe the next day or a new password is made.

Another howto I'm looking for is one where it will lock out the particular user for an hour or 2 if he/she tries to attempt to crack any OTHER user's password.

Is it possible? Anyone know of any HOWTOs?

Thanks a lot peeps!
 
Old 04-21-2005, 05:55 AM   #2
nowonmai
Member
 
Registered: Jun 2003
Posts: 481

Rep: Reputation: 48
Using a PAM (Pluggable Authentication Module) plugin. Have a look here http://www.kernel.org/pub/linux/libs...-6.html#ss6.24

Also, look at the files in /etc/pam.d
 
Old 04-21-2005, 06:05 AM   #3
nowonmai
Member
 
Registered: Jun 2003
Posts: 481

Rep: Reputation: 48
You could maybe manage the first senario by scheduling a cron job for 3 hours in the future that will do a 'write <login> "Logging out in 5 minutes..." followed by a little sleep and a logout. Then, using PAM again, age the password every day.
 
  


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
Different user logins, different issues gmgartner Slackware 4 04-21-2005 08:42 PM
3 concurrent logins 4 same user? tyccea Red Hat 4 10-24-2003 02:07 AM
Restriction on user logins klmn1 Linux - Networking 2 05-26-2003 06:40 AM
User Logins TerminalPhreak Linux - Newbie 3 02-28-2003 02:56 PM
X11 display failed logins rangerx Linux - Security 0 09-19-2002 11:39 AM


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