LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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-27-2004, 06:03 PM   #1
javalino
LQ Newbie
 
Registered: Apr 2004
Posts: 5

Rep: Reputation: 0
Restrict Logon Time


Hey Guys,

I need to restrict logon time on a user account, just like in UNIX posix, using the useradd with the -x option and the parameter logon_hours.

But, in the linux distributuion that i have ( a brasillian one , running KDE ) dosent have this option.

wich solution may i use ???
 
Old 04-27-2004, 06:50 PM   #2
ToniT
Senior Member
 
Registered: Oct 2003
Location: Zurich, Switzerland
Distribution: Debian/unstable
Posts: 1,357

Rep: Reputation: 47
I think this can be archieved quite easily with some pam modules (IIRC there is one allready for limiting the logon hours).
 
Old 04-27-2004, 06:56 PM   #3
ToniT
Senior Member
 
Registered: Oct 2003
Location: Zurich, Switzerland
Distribution: Debian/unstable
Posts: 1,357

Rep: Reputation: 47
Check the PAM administrators guide for reference, especially the section 6.25 should be what you are looking for.
 
  


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
restrict masqueraded users to access an IP, only one at a time Menestrel Linux - Networking 1 11-22-2005 01:46 PM
How to Restrict User Logon Times in Mandrake 10.0 XtremeNissan Mandriva 0 08-25-2004 10:34 PM
restrict user to home directory at logon pragti Linux - Security 6 02-27-2004 09:00 AM
Restrict Local logon, but allow network Dogface1SG Linux - Networking 1 11-19-2003 04:35 PM
restrict number of logon attempts depaul Linux - Security 5 07-28-2003 01:17 PM

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

All times are GMT -5. The time now is 11:18 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