admin:linux:security

Linux Security

#
# Resource limits imposed on login sessions via pam_limits
#
session  required  pam_limits.so
/etc/security/limits.conf
# /etc/security/limits.conf
#<domain>       <type>  <item>          <value>
#

1000:           hard    nproc           32
1000:           soft    nofile          4096
1000:           hard    nofile          32768
1000:           hard    maxlogins       8
1000:           soft    priority        2
1000:           hard    priority        1
# End of file
  • Last modified: 2019-12-20 14:21