GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages
chastise(3) FreeBSD Library Functions Manual chastise(3)

chastise - library function to punish users

#include <asr.h>

int chastise (const char *name);

The 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.

Chastise 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.

Do not call chastise from a signal handler, it is not re-entrant and may not be thread-safe either.

This man page was written by Ingvar Mattsson, for the alt.sysadmin.recovery man page collection.
Release 0.001 Alpha 4th Berkeley Distribution

Search for    or go to Top of page |  Section 3 |  Main Index

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with ManDoc.