1 # /etc/security/limits.conf
3 #Each line describes a limit for a user in the form:
5 #<domain> <type> <item> <value>
10 # - a group name, with @group syntax
11 # - the wildcard *, for default entry
12 # - the wildcard %, can be also used with %group syntax,
14 # - NOTE: group and wildcard limits are not applied to root.
15 # To apply a limit to the root user, <domain> must be
16 # the literal username root.
18 #<type> can have the two values:
19 # - "soft" for enforcing the soft limits
20 # - "hard" for enforcing hard limits
22 #<item> can be one of the following:
23 # - core - limits the core file size (KB)
24 # - data - max data size (KB)
25 # - fsize - maximum filesize (KB)
26 # - memlock - max locked-in-memory address space (KB)
27 # - nofile - max number of open files
28 # - rss - max resident set size (KB)
29 # - stack - max stack size (KB)
30 # - cpu - max CPU time (MIN)
31 # - nproc - max number of processes
32 # - as - address space limit (KB)
33 # - maxlogins - max number of logins for this user
34 # - maxsyslogins - max number of logins on the system
35 # - priority - the priority to run user process with
36 # - locks - max number of file locks the user can hold
37 # - sigpending - max number of pending signals
38 # - msgqueue - max memory used by POSIX message queues (bytes)
39 # - nice - max nice priority allowed to raise to values: [-20, 19]
40 # - rtprio - max realtime priority
41 # - chroot - change root to directory (Debian-specific)
43 #<domain> <type> <item> <value>
47 #root hard core 100000
49 #@student hard nproc 20
50 #@faculty soft nproc 20
51 #@faculty hard nproc 50
54 #@student - maxlogins 4