Jump to content

Command Crate ¿about?

Set user resource limits in /etc/security/limits.conf

echo -e "* hard nproc 2500\n@users hard nproc 3250\nroot hard nproc 3250\n* hard core 0\n* hard maxlogins 2" | sudo tee -a /etc/security/limits.conf

Adds custom resource limits to the /etc/security/limits.conf file, including process limits for users and root, disabling core dumps for all users, and restricting the maximum number of simultaneous logins per user to 2, ensuring better system resource management and security.

system configuration [kb:79]