[systemd-devel] Best way to limit per-user system-wide units

Samuel Williams space.ship.traveller at gmail.com
Wed Dec 14 03:23:19 UTC 2016


Okay so after mucking around a bit more, I was wondering if the most
logical way to solve this problem would be to edit /etc/pam.d/sudo to
add pam_systemd.so - would this work? I tried it and couldn't get it
to do anything meaningful, but TBH PAM is not my area of expertise.

On 14 December 2016 at 15:36, Samuel Williams
<space.ship.traveller at gmail.com> wrote:
> Okay, so tried some more things.
>
> $ sudo su - http env
> This account is currently not available.
>
> That's because the user has nologin set as the shell.
>
> So, does that mean it's impossible to use systemctl --user ?
>
>
>
> On 14 December 2016 at 13:13, Samuel Williams
> <space.ship.traveller at gmail.com> wrote:
>> Its unfortunately common for popular software to have CVEs, it's a sign of
>> an overall healthy environment I think. In any case my original point still
>> stands, regarding formal verification. But that's not the main issue here so
>> let's not get sidetracked :)


More information about the systemd-devel mailing list