daily pastebin goal
17%
SHARE
TWEET

Untitled

a guest May 19th, 2017 41 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. le fichier limits.conf modifier :
  2. # /etc/security/limits.conf
  3. #
  4. #Each line describes a limit for a user in the form:
  5. #
  6. #<domain>        <type>  <item>  <value>
  7. #
  8. #Where:
  9. #<domain> can be:
  10. #        - an user name
  11. #        - a group name, with @group syntax
  12. #        - the wildcard *, for default entry
  13. #        - the wildcard %, can be also used with %group syntax,
  14. #                 for maxlogin limit
  15. #        - NOTE: group and wildcard limits are not applied to root.
  16. #          To apply a limit to the root user, <domain> must be
  17. #          the literal username root.
  18. #
  19. #<type> can have the two values:
  20. #        - "soft" for enforcing the soft limits
  21. #        - "hard" for enforcing hard limits
  22. #
  23. #<item> can be one of the following:
  24. #        - core - limits the core file size (KB)
  25. #        - data - max data size (KB)
  26. #        - fsize - maximum filesize (KB)
  27. #        - memlock - max locked-in-memory address space (KB)
  28. #        - nofile - max number of open files
  29. #        - rss - max resident set size (KB)
  30. #        - stack - max stack size (KB)
  31. #        - cpu - max CPU time (MIN)
  32. #        - nproc - max number of processes
  33. #        - as - address space limit (KB)
  34. #        - maxlogins - max number of logins for this user
  35. #        - maxsyslogins - max number of logins on the system
  36. #        - priority - the priority to run user process with
  37. #        - locks - max number of file locks the user can hold
  38. #        - sigpending - max number of pending signals
  39. #        - msgqueue - max memory used by POSIX message queues (bytes)
  40. #        - nice - max nice priority allowed to raise to values: [-20, 19]
  41. #        - rtprio - max realtime priority
  42. #        - chroot - change root to directory (Debian-specific)
  43. #
  44. #<domain>      <type>  <item>         <value>
  45. #
  46.  
  47. #*               soft    core            0
  48. #root            hard    core            100000
  49. #*               hard    rss             10000
  50. #@student        hard    nproc           20
  51. #@faculty        soft    nproc           20
  52. #@faculty        hard    nproc           50
  53. #ftp             hard    nproc           0
  54. #ftp             -       chroot          /ftp
  55. #@student        -       maxlogins       4
  56. @audio       -       rtprio          89
  57. @audio          -       nice             -20
  58. @audio          -       memlock         600000
  59.  
  60. # End of file
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top