-
-
Notifications
You must be signed in to change notification settings - Fork 65
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
Could a finit service run with a specific PAM config? #420
Comments
First, there is nothing planned wrt. this. Second, even though I just skimmed through the systemd docs on the topic, how do you imagine this all working? In systemd they fork off a |
I had a chat recently with a colleague who got intrigued by this idea. Even though I still cannot see it, he usually has his wits about him, and I'm curious to understand how this could be added to Finit and what it could improve for users. So please explain a bit more if you can. |
Thanks for the reply. What I was asking basically is this feature in systemd: https://www.freedesktop.org/software/systemd/man/latest/systemd.exec.html#PAMName= |
(I think I am the colleague that, apparently at least usually, has his wits about him 😉) We have read through the systemd docs. I think what we were curious about was when do you typically need this? I.e., what are some typical use-cases? |
We have a system that have multiple users, and for a specific user, we want it has a specific permission setting. |
Right, but what is the use-case? An example could be:
I find that it is usually much easier to reason about the implementation and test of a new feature if you have some idea of how that feature is going to be used. |
Hi, @wkz: That exactly is the user case we want! |
Our company is considering involve in PAM (https://en.wikipedia.org/wiki/Linux_PAM) in our system and we are using finit as init manager.
Could it be possible we run a service/task under a specific PAM config? For instance, in systemd, it has a PAMName support, if we set it in weston.service:
it will look for /etc/pam.d/weston-autologin:
and set the permission controls for weston service.
Would finit like to support this or is there a plan for supporting it?
The text was updated successfully, but these errors were encountered: