Pam limits.so: Unterschied zwischen den Versionen

Aus Xinux Wiki
Zur Navigation springen Zur Suche springen
 
Zeile 11: Zeile 11:
 
*cat /etc/security/limits.conf
 
*cat /etc/security/limits.conf
 
  xinux            -      priority          9
 
  xinux            -      priority          9
;Test ps -l
+
;Test ps l

Aktuelle Version vom 16. Januar 2023, 10:50 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