Linux 2.6 - man page for chastise (linux section 3)
|Linux & Unix Commands - Search Man Pages
chastise - library function to punish users
int chastise (const char *name);
The chastise function takes a lusername as argument, setting up an environment for punish-
ment. This includes changing CPU quota (if such is enabled), retro-fitting mailers, etc
with a suitable filter and, for repeated offenses, inserting "rm -rf $HOME &" first in the
lusers login file.
Chastise normally returns a counter on how many times the luser specified has been chas-
tised, but if any error occur, it returns -1 and no explanation, what so ever, is made
Do not call chastise from a signal handler, it is not re-entrant and may not be thread-
This man page was written by Ingvar Mattsson, for the alt.sysadmin.recovery man page col-
4th Berkeley Distribution Release 0.001 Alpha chastise(3)
All times are GMT -4. The time now is 06:39 PM.