>
> Hi all,
>
> I would like know how to call a C program when my users log in
> my computer. The objective is: stop a user when he has oversteped
> his acess hours.
If he is "telnetting" to your computer, put the c program in his .login
script so it is executed as soon as he logs in, or make the C program his
shell. You can alter that in the /etc/passwd file.
~*-,._.,-*~'`^`'~*-,._.,-*~'`^`'~*-,._.,-*~'`^`'~*-,._.,-*~'`^`'~*-,._.,-*~
Jake Messinger 713-772-6690 jake@ams.com
Advanced Medical Systems, Inc. jake@uh.edu
Houston, Texas http://www.ams.com/~jake
~*-,._.,-*~'`^`'~*-,._.,-*~'`^`'~*-,._.,-*~'`^`'~*-,._.,-*~'`^`'~*-,._.,-*~
(Betcha can't do this on an Apple ][, ][c, or ][e)