Pam limits.so: Unterschied zwischen den Versionen

Aus Xinux Wiki
Zur Navigation springen Zur Suche springen
Zeile 8: Zeile 8:
 
  xinux            -      nproc          10
 
  xinux            -      nproc          10
 
;Test mehrere Prozesse starten
 
;Test mehrere Prozesse starten
 +
=Nicewert limitieren=
 +
*cat /etc/security/limits.conf
 +
xinux            -      priority          9
 +
;Test ps -l

Version vom 13. Januar 2023, 13:48 Uhr

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