[security] Add a red button to disable untrusted user login. #13

Open
opened 2026-05-07 23:50:02 +02:00 by javalsai · 1 comment
Owner

With the surge of copyfail and dirtyfrag I feel very skeptical at just having arbitrary users in our system.

Especially in the case of copyfail, where the vulnerable kernel modules were built into our almalinux kernel, and the proper selinux solution was quite messy; where we remained partially vulnerable (sudoers couldve been overwritten, a-r on suids wasn't a complete mitigation).

In those cases I would sleep more peacefully if we had an emergency button to boot off all untrusted users while we figure out a proper mitigation.

Especially considering the declarative nature of nix, where a fix rebuild could take some time until the system is reliable again.

With the surge of copyfail and dirtyfrag I feel very skeptical at just having arbitrary users in our system. Especially in the case of copyfail, where the vulnerable kernel modules were built into our almalinux kernel, and the proper selinux solution was quite messy; where we remained partially vulnerable (sudoers couldve been overwritten, `a-r` on suids wasn't a complete mitigation). In those cases I would sleep more peacefully if we had an emergency button to boot off all untrusted users while we figure out a proper mitigation. Especially considering the declarative nature of nix, where a fix rebuild could take some time until the system is reliable again.
javalsai added the
priority
medium
system
core
labels 2026-05-07 23:50:02 +02:00
javalsai added the
type
security
label 2026-05-07 23:51:46 +02:00
javalsai added this to the General TODOs project 2026-05-07 23:53:44 +02:00
javalsai moved this to To Do in General TODOs on 2026-05-07 23:53:53 +02:00
Owner

I was thinking of using specialisations but last time I had them in my NixOS configuration my evaluation time doubled for each new specialisation I added.

I was thinking of using [specialisations](https://search.nixos.org/options?channel=25.11&query=specialisation) but last time I had them in my NixOS configuration my evaluation time doubled for each new specialisation I added.
Sign in to join this conversation.
2 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: tuxcord/tuxcord.nix#13