On 2026-02-10 17:06:48 -0500, Thomas Dickey wrote:
> utempter uses setgid, while systemd (whose documentation is per-line of
> code no better than utempter) appears to require root privilege
> (which of course is a big step backwards).

As I understand the doc, software should not call systemd directly,
but should use PAM, and more specifically, pam_systemd:

  pam_systemd - Register user sessions in the systemd login manager

Then, concerning the needed permissions, isn't this controlled by
PAM configuration?

-- 
Vincent Lefèvre <[email protected]> - Web: <https://www.vinc17.net/>
100% accessible validated (X)HTML - Blog: <https://www.vinc17.net/blog/>
Work: CR INRIA - computer arithmetic / Pascaline project (LIP, ENS-Lyon)

Reply via email to