The kiosk app can end up with the no-new-privileges flag, after which sudo
refuses to run ("The no new privileges flag is set"). The helper is now
served over a root-owned, kiosk-group-only unix socket (systemd socket
activation); sudo stays as a fallback. With several WiFi adapters the screen
shows a dropdown and lists all of them; status/scan/connect take an iface.
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_013wi3ZQveYdjfcrEsyazq32
11 lines
273 B
Desktop File
11 lines
273 B
Desktop File
[Unit]
|
|
Description=Kiosk WiFi helper (one request)
|
|
|
|
[Service]
|
|
ExecStart=/usr/local/bin/kiosk-wifi-helper-socket
|
|
StandardInput=socket
|
|
StandardOutput=socket
|
|
StandardError=journal
|
|
# A connect waits up to ~30s for an address, plus netplan; never run forever.
|
|
RuntimeMaxSec=180
|