Jim Popovitch (j...@k4vqc.com) wrote: > On Fri, 2021-03-05 at 14:21 -0500, Greg Wooledge wrote: > > Jim Popovitch (j...@k4vqc.com) wrote: > > > Ugh. So the solution seems to be to add UsePAM to sshd just to make > > > systemd work. Not sure that I can get that approved, but I will see. > > > > This sounds like an X-Y problem. What are you actually trying to do? > > That sounds like an X-Y question. :) > > Obviously I'm trying to run a systemd unit file from within a non-root > env. I apologize if that wasn't obvious.
Why? What does it do? Why do you need to invoke it this way? What results are you expecting to achieve?