LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 08-29-2005, 09:57 AM   #1
dabash
Member
 
Registered: Feb 2005
Location: Earth
Distribution: redhat AS/ES Ver 3.0 kernel 2.4.21
Posts: 45

Rep: Reputation: 15
Talking script to allow for logging-in


Hi

how can I Implement shell login time restrictions, so that users can only log in to the system between 8:30AM and 6:30PM, SAT through WED – all other times should disallowed for logging-in.


thanks
 
Old 08-29-2005, 12:13 PM   #2
Matir
LQ Guru
 
Registered: Nov 2004
Location: San Jose, CA
Distribution: Debian, Arch
Posts: 8,507

Rep: Reputation: 128Reputation: 128
PAM can implement these restrictions. Look at pam_time.so.
 
Old 04-17-2006, 07:18 AM   #3
dabash
Member
 
Registered: Feb 2005
Location: Earth
Distribution: redhat AS/ES Ver 3.0 kernel 2.4.21
Posts: 45

Original Poster
Rep: Reputation: 15
thanks but can you give an example


Last edited by dabash; 04-18-2006 at 01:46 AM.
 
Old 12-29-2006, 03:15 PM   #4
dombrowsky
Member
 
Registered: Dec 2005
Location: New York
Distribution: Debian/GNU
Posts: 235

Rep: Reputation: 31
Quote:
God is Allah
Jesus is prophet
well, we certainly know your opinion on a whole slew of issues, now don't we?

I for one don't know why people choose to put themselves in such small boxes, but that's my problem.

I'll tag myself flamebait.
 
  


Reply

Tags
flamebait



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
Logging via bash script kleptophobiac Programming 8 07-22-2004 09:21 AM
Script when Logging in jrpretz Linux - General 1 11-18-2003 09:53 AM
Continue running a script after logging out? AlvinK Linux - Newbie 0 08-28-2003 06:32 AM
running a script automatically when Logging out? hamster Linux - General 2 06-03-2003 08:49 PM
shell script for logging threadhead Linux - General 8 12-27-2002 03:59 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

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