Copyright (C) 2000-2012 |
Manpages chastiseSection: C Library Functions (3)Updated: Release 0.001 Alpha Index Return to Main Contents NAMEchastise - library function to punish usersSYNOPSIS#include <asr.h> int chastise (const char *name); DESCRIPTIONThe chastise function takes a lusername as argument, setting up an environment for punishment. 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.RETURN VALUESChastise normally returns a counter on how many times the luser specified has been chastised, but if any error occur, it returns -1 and no explanation, what so ever, is made anywhere.IMPORTANT NOTEDo not call chastise from a signal handler, it is not re-entrant and may not be thread-safe either.AUTHORThis man page was written by Ingvar Mattsson, for the alt.sysadmin.recovery man page collection.
IndexThis document was created by man2html, using the manual pages. Time: 18:35:28 GMT, April 19, 2024 |