Pam limits.so: Unterschied zwischen den Versionen
Zur Navigation springen
Zur Suche springen
| (2 dazwischenliegende Versionen desselben Benutzers werden nicht angezeigt) | |||
| Zeile 2: | Zeile 2: | ||
*cat /etc/security/limits.conf | *cat /etc/security/limits.conf | ||
xinux - maxlogins 1 | xinux - maxlogins 1 | ||
| − | ;Test mehrmals | + | ;Test mehrmals einlogen per ssh |
*ssh xinux@rechner | *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 | ||
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