On Thu, Dec 06, 2001 at 06:55:52AM +0000, Chandra Sekhar wrote: > > i was working on linux shell programming and i want to control > my users. my requirements are: > > 1)i have to give permission for certain time say from 10 to 12 > am to a user. later if he tries to login, it should not work. > ie a message will be displayed saying this is not u r time. > > 2) is this program must be executed all the time or it can be > invoked at that particular incident only ---end quoted text---
Possible. Use a bash script to be called from .bash_profile (in case you have a xdm/ kdm/ gdm login enabled). No need to run in daemon mode ... HTH Bish -- : ####[ Linux One Stanza Tip (LOST) ]########################### Sub : Lesser known commands (toe) LOST #212 To know what all terms are supported by the kernel use: $toe | less This info may be needed when telnetting to another host with a different OS which does not recognise linux as TERM type. ####<[EMAIL PROTECTED]>#################################### : _______________________________________________ linux-india-help mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/linux-india-help
