On an Ubuntu 24.04 workstation that I use but am not the system administrator, the…
- User
On an Ubuntu 24.04 workstation that I use but am not the system administrator, the device file /dev/kvm has two group owners when no one is logged in graphically: the group kvm, and via an ACL, also the group gdm. When I log in graphically, I get permissions to access the device, and then these permissions go away when I log out. Can you guess what mechanism is responsible for this permissions change? I'm interest to know because I would like a similar effect to take place when I log in over SSH.
Assistant
This behavior is most likely managed by logind (systemd-logind), which handles session management and dynamic device access permissions on modern Linux systems. When you log in graphically, logind typically grants your user temporary access to various devices for the duration of your session.
Other models, same or similar prompt
Responses were produced in different, uncontrolled contexts (system prompts, settings, prior turns). This is not a benchmark.