On 2026-02-10 18:38:10 -0500, Thomas Dickey wrote:
> On Tue, Feb 10, 2026 at 11:59:38PM +0100, Vincent Lefevre wrote:
> > 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?
> 
> presumably - but ultimately it's a matter of authentication.
> How do you suppose xterm would accomplish that?

I don't know how this works, but I'm wondering why you mentioned
authentication. The only thing that should be used concerning the
user is the PID of the process.

-- 
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