also sprach Petre Daniel <[EMAIL PROTECTED]> [2001.12.26.1334 +0100]: > Ok,i promise next year i'll take a look on the many shell scripting > tutorials,but until then i need a script that checks periodically for > processes belonging to users not presently logged in and kills them.Like > someone would leave a wget in background..and i want it after the user logs > out to be killed ;-))
uhm, any user who wants a process to continue beyond logout will have to go through serious trouble to enable this. so just de-install screen. and do your users know that you intend to kill their processes? i just recall experiments in genetic programming and evolutionary algorithms, which ran a single process for 56 days - at which point in time it was 98% done and the sysadmin killed it. god how i loved him. i think this is a better solution: chmod 0000 /bin/kill. :) -- martin; (greetings from the heart of the sun.) \____ echo mailto: !#^."<*>"|tr "<*> mailto:" [EMAIL PROTECTED] there's an old proverb that says just about whatever you want it to.
pgpKtpOSfZlY0.pgp
Description: PGP signature