Guest User

conf

a guest
Jun 27th, 2016
55
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.16 KB | None | 0 0
  1. # /etc/security/limits.conf
  2. #
  3. #Each line describes a limit for a user in the form:
  4. #
  5. #<domain> <type> <item> <value>
  6. #
  7. #Where:
  8. #<domain> can be:
  9. # - an user name
  10. # - a group name, with @group syntax
  11. # - the wildcard *, for default entry
  12. # - the wildcard %, can be also used with %group syntax,
  13. # for maxlogin limit
  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.
  17. #
  18. #<type> can have the two values:
  19. # - "soft" for enforcing the soft limits
  20. # - "hard" for enforcing hard limits
  21. #
  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)
  42. #
  43. #<domain> <type> <item> <value>
  44. #
  45.  
  46. #* soft core 0
  47. #root hard core 100000
  48. #* hard rss 10000
  49. #@student hard nproc 20
  50. #@faculty soft nproc 20
  51. #@faculty hard nproc 50
  52. #ftp hard nproc 0
  53. #ftp - chroot /ftp
  54. #@student - maxlogins 4
  55.  
  56. # End of file
Add Comment
Please, Sign In to add comment