Pam limits.so

Aus Xinux Wiki
Zur Navigation springen Zur Suche springen

Logins limitieren

  • cat /etc/security/limits.conf
xinux    -       maxlogins       1
Test mehrmals einlogen per ssh
  • ssh xinux@rechner

Prozesse limitieren

  • cat /etc/security/limits.conf
xinux            -       nproc           10
Test mehrere Prozesse starten

Nicewert limitieren

  • cat /etc/security/limits.conf
xinux            -      priority           9
Test ps l