in reply to How to limit resources ?

In Linux/Unix its easy to limit the resources of one user, you have to modify 2 files to do it, or just one if you already include limits.conf in pam.

There two files are:
In /etc/pam.d/login or ssh, etc
put this line

session required pam_limits.so


Then edit:
/etc/security/limits.conf

#<domain> <type> <item> <value> # #Where: #<domain> can be: # - an user name # - a group name, with @group syntax # - the wildcard *, for default entry # #<type> can have the two values: # - "soft" for enforcing the soft limits # - "hard" for enforcing hard limits # #<item> can be one of the following: # - core - limits the core file size (KB) # - data - max data size (KB) # - fsize - maximum filesize (KB) # - memlock - max locked-in-memory address space (KB) # - nofile - max number of open files # - rss - max resident set size (KB) # - stack - max stack size (KB) # - cpu - max CPU time (MIN) # - nproc - max number of processes # - as - address space limit # - maxlogins - max number of logins for this user # - priority - the priority to run user process with # #<domain> <type> <item> <value>

$anarion=\$anarion;

s==q^QBY_^=,$_^=$[x7,print