file (/etc/limits by default or LIMITS_FILE defined config.h) describes the resource limits you wish to impose. It should be owned by root and readable by root account only.
.PP
By default no quota is imposed on 'root'. In fact, there is no way to impose limits via this procedure to root\-equiv accounts (accounts with UID 0).
A: max address space (KB) C: max core file size (KB) D: max data size (KB) F: maximum filesize (KB) M: max locked\-in\-memory address space (KB) N: max number of open files R: max resident set size (KB) S: max stack size (KB) T: max CPU time (MIN) U: max number of processes K: file creation mask, set by
the rest of the line is considered a limit string, thus comments are not allowed. A invalid limits string will be rejected (not considered) by the login program.
To completely disable limits for a user, a single dash "\fI\-\fR
"will do.
.PP
Also, please note that all limit settings are set PER LOGIN. They are not global, nor are they permanent. Perhaps global limits will come, but for now this will have to do ;)