login authentication (PAM + fingerprint)
git clone https://git.lucas.co/cce-authenticator.git
cce-polkit-agent.service (729B)
1 [Unit]
2 Description=CCE polkit authentication agent (cce-authenticator)
3 After=graphical-session.target
4 PartOf=graphical-session.target
5
6 [Service]
7 Type=simple
8 # No args = polkit-agent mode: registers on the session via D-Bus (resolving
9 # the session id itself: $XDG_SESSION_ID, /proc/self/sessionid, then logind
10 # GetSessionByPID) and opens a native cce-ui window per authentication
11 # request, driving polkit-agent-helper-1 / PAM / fprintd. Without a session
12 # agent every pkexec in the DE (settings-app sysfs writes, bluetooth power,
13 # storage backup, package updates) fails silently.
14 ExecStart=%h/.local/bin/cce-authenticator
15 Restart=on-failure
16 RestartSec=3
17 Environment=RUST_LOG=info
18
19 [Install]
20 WantedBy=graphical-session.target