Here is the script that kills old users processes

Kai Wollweber wollw at ki.tng.de
Fri Nov 21 15:43:17 GMT 2008


Here is another method:

pkill -G 100

kills all processes belonging to the group 100. We start this with
crontab (/etc/crontab) every night at 1:57

57  1   * * *   root    pkill -G 100

This will not work if every user has his own group.


-- 
Kai Wollweber
Peter-Ustinov-Schule
Integrierte Gesamtschule
der Stadt Eckernförde
Sauerstr. 16
24340 Eckernförde
http://www.igs-eckernfoerde.de
wollw at web.de





More information about the edubuntu-users mailing list