linedancer888
MIS
Hi,
I need to write a script to kill a specific user if it's been logged on for more than 25 minutes. This userid is logged on automatically and may have several sessions at once. TMOUT won't work, becuase when the userid logs in, it goes automatically into the program, plus all the users use the same home directory so I can't really change the .profile. I just don't know where to begin with this one.
Thanks for any help.
I need to write a script to kill a specific user if it's been logged on for more than 25 minutes. This userid is logged on automatically and may have several sessions at once. TMOUT won't work, becuase when the userid logs in, it goes automatically into the program, plus all the users use the same home directory so I can't really change the .profile. I just don't know where to begin with this one.
Thanks for any help.