chastise(3) Library Functions Manual chastise(3)NAME
chastise - library function to punish users
SYNOPSIS
#include <asr.h>
int chastise (const char *name);
DESCRIPTION
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.
RETURN VALUES
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.
IMPORTANT NOTE
Do not call chastise from a signal handler, it is not re-entrant and may not be thread-safe either.
AUTHOR
This man page was written by Ingvar Mattsson, for the alt.sysadmin.recovery man page collection.
4th Berkeley Distribution Release 0.001 Alpha chastise(3)
Check Out this Related Man Page
lart(1M)lart(1M)NAME
lart - Luser Attitude Readjustment Tool - use a lart to adjust lusers' attitudes
SYNOPSIS
lart [ -use tool ] [ -bBfFgklp ] <lusername>
DESCRIPTION
lart adjusts the attitudes of those pesky, clueless people who rely upon their admins for everything from picking their mice off of the
floor to turning on their monitors; namely, the luser(8). Running lart with the appropriate arguments will cause the specified luser to
run away screaming in agony. Alternatively, you can make the luser buy you a beer, after killing all of their processes.
OPTIONS -use tool Choose your weapon. If this option is not specified, the enviroment variable LART is used. If neither is set, a default
value will be used, which is set at compile time
-b Used to increase the size of your lart
-B The BOFH option. Removes a users files and kills all their processes. If used in conjunction with -p this will also cause
syslog to make entries proving that <lusername> was the second gunman behind the grassy knoll
-f Only fake luser's attitude readjustment session. Provided primarily for testing purposes. Mutually exclusive with -B
-F fsck <lusername>
as a raw device. Note that this option has not been tested, as it is rather difficult to find volunteers
-g Graphic violence. Uses curses to monitor <lusername> during the beating.
-k Kill. A rather permanent option, and as such is not highly recommended. Can only be invoked once per <lusername>
-p See -B
SEE ALSO sysadmin(1), guru(8), luser(8)
01 23 1996 lart(1M)
how to match an alphanumeric string like the following.
i have to do like the following.
if the input line is
the data is {clock_91b}
i have to replace that with
the string was ("clock_91b")
i tried like
$line =~ s/the data is\s+\{(+)\}/the string was \(\"$1\"\)/
which... (4 Replies)
Hi, I'm very new to Linux and I'm sorry if this question is too dumb.
If it is ok, please link me to some beginner guides for questions like this one.
I want to check if the entered string is a number and has 4 digits.
I heard that I should use "regular expression" or something like that to... (8 Replies)
Hello...
Request for help and assistance...
I have a file.txt that contains multiple lines similar from below and I would like to extract to other file in a tab/space delimiter some certain values or field.
/dir1/File1.File2_File3/content/data/File4.File5.Service: <connection... (16 Replies)
Firstly I don't know where to put this so if it is the wrong forum then chastise me... ;oD
I built the hardware and wrote the software for an Audio Oscilloscope DC-100KHz in 2001 for the A1200(HD) via the AMIGA parallel port. It clocks the port at 200KHz, although 250KHz was easy enough via a... (4 Replies)
First of all, I'd like to congratulate this big family and all members for all the work you do!
I'm trying to do an script or sentence which kills an specific printers PIDs: all printers PIDs older than 72h running in the server.
Steps:
1.- List all printers PID sorting by date:
ps... (6 Replies)
Finally!
Yesterday I FINALLY figured out why Google Search Console (GSE) was showing so many pages with 302 redirects in our link budget. For over a year, I thought this issue was relate to either Apache2 or DBSEO (our PHP module which rewrites our links to be SEO friendly). However, when I... (5 Replies)