SHARE
TWEET

Untitled

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