atlus/backend/routers
roberts 6a0c8757f8 Run terminals and GUI apps as the authenticated user, not root
Atlus runs as root (systemd) but user-facing processes must run under the
authenticated user's identity. Added privilege-dropping via preexec_fn
(os.setgid + os.initgroups + os.setuid) to both terminal PTY spawning
and GUI app launching. System admin operations (services, packages,
network, updates) intentionally remain root.

Autostart apps now support a configurable default_user; without one set,
autostart defers until the first user logs in and runs as that user.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-15 00:35:52 -05:00
..
plugins Fix robustness issues across backend and frontend 2026-03-14 17:41:43 -05:00
__init__.py Initial commit — Atlus web desktop environment for SBCs 2026-03-14 16:53:46 -05:00
display.py App exit diagnostics, desktop file discovery, WiFi wpa_supplicant fix 2026-03-15 00:03:13 -05:00
files.py Fix robustness issues across backend and frontend 2026-03-14 17:41:43 -05:00
network.py Add ethernet link watchdog and prevent disabling last active interface 2026-03-15 00:12:00 -05:00
packages.py Fix package manager: better error handling, debug endpoint, robust PATH 2026-03-14 19:33:04 -05:00
processes.py Initial commit — Atlus web desktop environment for SBCs 2026-03-14 16:53:46 -05:00
services.py Fix robustness issues across backend and frontend 2026-03-14 17:41:43 -05:00
session.py Run terminals and GUI apps as the authenticated user, not root 2026-03-15 00:35:52 -05:00
settings.py Replace panel services with docked apps, add autostart and update scanner settings 2026-03-14 23:40:44 -05:00
stats.py Initial commit — Atlus web desktop environment for SBCs 2026-03-14 16:53:46 -05:00
terminal.py Add persistent/roaming desktop sessions 2026-03-14 21:41:28 -05:00
updates.py Fix package detection using dpkg-query, add apt-get update before install, add libxcb-cursor0 dep 2026-03-14 23:51:53 -05:00