Why should I set a
maxlogins limit in
/etc/security/limits.conf? In other words, are there any performance-related and security-related benefits to be gained?
I have only three users on my machine, but on many days one of the users ends up with more than 15 active sessions. They also love to use
tmux, and every split window in
tmux counts as one
session in the output of
who). But I do see that for what they do, they need to have many sessions active at the same time (they run several tasks simultaneously and write codes in another windows at the same time and monitor
htop in other windows).
Is there any reason why I should limit the number of logins for this particular user (or even all users) to, say, 5 or 10? Why and why not?
I doubt there'd be any performance-related gain from such practice, but I am eager to know why