Support LQ: Use code LQ3 and save $3 on Domain Registration
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
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!


  Search this Thread
Old 08-29-2005, 10:57 AM   #1
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


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.

Old 08-29-2005, 01:13 PM   #2
Registered: Nov 2004
Location: San Jose, CA
Distribution: Ubuntu
Posts: 8,507

Rep: Reputation: 122Reputation: 122
PAM can implement these restrictions. Look at
Old 04-17-2006, 08:18 AM   #3
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 02:46 AM.
Old 12-29-2006, 04:15 PM   #4
Registered: Dec 2005
Location: New York
Distribution: Debian/GNU
Posts: 235

Rep: Reputation: 31
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.



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

All times are GMT -5. The time now is 03:55 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration