pressing ctrl-alt-del on an attached USB KBD allows rebooting locked down devices
Bug #1929539 reported by
Oliver Grawert
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Snappy |
In Progress
|
Undecided
|
Frederik Du Toit Lotter | ||
snapd |
Triaged
|
Wishlist
|
Frederik Du Toit Lotter |
Bug Description
if you have an otherwise locked down ubuntu core device, it is easily possible to trigger a reboot by just attaching a USB kbd and hit ctrl-alt-del. this is indeed unwanted on such devices, there should be a way to mask the systemd ctrl-alt-del target from i.e. a gadget option.
Changed in snapd: | |
assignee: | nobody → Frederik Du Toit Lotter (flotter) |
Changed in snappy: | |
assignee: | nobody → Frederik Du Toit Lotter (flotter) |
Changed in snapd: | |
status: | Confirmed → In Progress |
Changed in snappy: | |
status: | New → In Progress |
Changed in snapd: | |
status: | In Progress → Triaged |
To post a comment you must log in.
Imho, it makes sense for that target to be symlinked to /dev/null by default in core snaps (core, core18, core20, core22).
And also make it writable. Such that device owners can set it to something else, like reboot.target.
And if it is writable, it could be then be customized at image creation time via hooks / tweaks done to the writable partitions.
This will need checking with snapd/foundations teams too, in case they want something else for it (i.e. enforcing this in different grades of UC20 models; and/or having some snap command API for this)