Advertisement
Guest User

Untitled

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