LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
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 06-26-2005, 01:05 PM   #1
azi
LQ Newbie
 
Registered: Nov 2003
Posts: 17

Rep: Reputation: 0
utmpd


I got the idea of implementing a user access-control
daemon. I coded a simple program called utmpd which
role is to force logout users violating a defined rule.

Eg.: We set the configuration file to kill user "test",
every time he logs in to the system from Monday to Friday.
Every time the user "test" tries to log in at these days
(Mon,Thu,...Fri) he receives a message on his terminal:

"You are not allowed to log in on this day!"

and gets killed.

Other options that utmpd supports are :

DENY_TIME (denied access at predefined time,
time ranges...)

WDENY_TIME (explained above)

HOST_DENY (killing users loged from certain
hosts (eg. microsoft.com !sorceforge.net ))

MAX_IDLE (sets the maximum idle a user can reach)

I hope someone will find my program useful and try to use it, else my work was partially wasted.

http://utmpdix.sourceforge.net/
 
Old 06-27-2005, 10:13 AM   #2
demian
Member
 
Registered: Apr 2001
Location: Bremen, Germany
Distribution: Debian
Posts: 303

Rep: Reputation: 30
I don't want to dismiss your programming efforts, but can you comment on what your daemon does that isn't possible by other means or how is differs from existing solutions? Cause the examples you gave are already available through eg pam_time, hosts.[allow|deny], autolog, idled, ...
 
  


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



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

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