Notes: * "contingency" is just a little shell script that resists being killed with SIGINT (SIGnal INTerrupt) and SIGABRT (SIGnal ABoRT) * Since I was running as 'AUX_ADMIN', I wasn't going to actually delete the account. * I was using ZSH * killall -ABRT contingency should really be 'rmmod contingency' or 'modprobe -r contingency' Code for 'contingency': #!/usr/local/bin/zsh trap "echo PERMISSION DENIED" SIGINT SIGABRT trap "echo OPERATION SUSPENDED" SIGHUP trap "echo TERMINATING PROCESSES..." SIGTERM while : do done Code for 'delete': echo "USER DELETED" # rather anticlimactic, isn't it?
Attributes | Values |
---|---|
rdfs:label |
|
rdfs:comment |
|
dcterms:subject | |
abstract |
|