LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
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, 08: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, 04: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, 05: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



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

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

All times are GMT -5. The time now is 06:26 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
Open Source Consulting | Domain Registration