Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Using systemd template unit file, running the callback as root? #251

Open
brianjmurrell opened this issue Jan 15, 2022 · 0 comments
Open

Comments

@brianjmurrell
Copy link

If I start a fm-consumer@.service unit file using the non --user systemd instance, my callback is going to run as root, right?

Surely that's not what I want. All of my fedora infrastructure access in my own account, not roots, not to mention the security implications!

Is this really the way the fm-consumer unit is expected to run or is there something I am missing which is supposed to redirect the running of the callback back into a user's account (where in fact the callback is even in a users ~/.local/lib/python* in fact).

I'm surprised all of this, in it's entirety is not scoped to the user level.

How does any of this work on a multi-user system where users don't have root and want have their own FM consumers?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant