Files
systemd/src/test
Lennart Poettering d6b008b01e Enforce per-user quota on /tmp/ and /dev/shm/ as user logs in (#36010)
There's finally quota on tmpfs, hence let's use it to make it harder for
users to DoS the system by consuming all disk space in /tmp/ and
/dev/shm/.

This enforces a default limit of 80% quota of the backing fs for these
two dirs for users, but this can be overriden in the user record, if
desired.

This also adds two other interesting features:

1. mount units gain GracefulOptions= which takes optional mount options
that are added only if supported by the kernel. (this is used to enable
usrquota on /tmp/, if available.)
2. The PAM logic in service management now supports reading passwords
from service credentials and via the askpw logic. This used for make
testing easy (so that we can run0 into a homed user which strictly
requires a password).
2025-01-24 12:52:27 +01:00
..
2024-12-05 10:42:15 +01:00
2024-04-15 08:13:50 +02:00
2024-04-15 08:13:50 +02:00
2024-07-22 23:57:00 +02:00
2024-07-22 23:57:00 +02:00
2024-04-15 08:13:50 +02:00
2024-04-15 08:13:50 +02:00
2024-04-15 08:13:50 +02:00
2024-04-15 08:13:50 +02:00
2024-04-15 08:13:50 +02:00
…
2024-04-15 08:13:50 +02:00
2024-04-18 17:39:34 +02:00
2024-04-15 08:13:50 +02:00
2024-10-11 23:10:23 +03:00
2024-04-15 08:13:50 +02:00
2024-04-15 08:13:50 +02:00
2024-04-15 08:13:50 +02:00
2024-04-15 08:13:50 +02:00
2024-04-15 08:13:50 +02:00
2024-04-15 08:13:50 +02:00
2024-04-15 08:13:50 +02:00
2024-09-21 05:10:47 +09:00
2024-04-15 08:13:50 +02:00