why don't you call the shell script from the .profile of the user ? In that 
case the script will be executed while log-on and I think this is what you 
need.

goutam



At 06:55 AM 12/6/2001 +0000, Chandra Sekhar wrote:
>   sir
>      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
>        kindly clarify..
>
>
>
>_______________________________________________
>linux-india-help mailing list
>[EMAIL PROTECTED]
>https://lists.sourceforge.net/lists/listinfo/linux-india-help


_______________________________________________
linux-india-help mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/linux-india-help

Reply via email to