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

need shell plugin for remote login/exec #2533

Closed
garlick opened this issue Nov 12, 2019 · 3 comments
Closed

need shell plugin for remote login/exec #2533

garlick opened this issue Nov 12, 2019 · 3 comments
Labels
design don't expect this to ever be closed...

Comments

@garlick
Copy link
Member

garlick commented Nov 12, 2019

I don't remember all the details on this, but slurm has a PAM module that prevents users from logging into compute nodes unless they have a job running there. Presumably we'll need to adapt this for Flux or do something to achieve the same effect.

https://github.com/SchedMD/slurm/blob/master/contribs/pam/pam_slurm.c

https://slurm.schedmd.com/pam_slurm_adopt.html

@grondo
Copy link
Contributor

grondo commented Nov 12, 2019

I thought our idea was to allow logins directly to jobs via a shell plugin. If we could accomplish this, no pam module is required, plus we get the accounting and cleanup for free (plus the user login enters the container of the job and not the whole node itself.)

@garlick garlick changed the title need flux equivalent to slurm pam module need shell plugin for remote login/exec Nov 13, 2019
@stale
Copy link

stale bot commented Mar 5, 2021

This issue has been automatically marked as stale because it has not had activity for 365 days. It will be closed if no further activity occurs within 14 days. Thank you for your contributions.

@stale stale bot added the wontfix label Mar 5, 2021
@garlick garlick added design don't expect this to ever be closed... and removed wontfix labels Mar 5, 2021
@garlick
Copy link
Member Author

garlick commented Jul 11, 2022

PAM module to restrict logins was created as a standalone project and the first release is currently being tested

https://github.com/flux-framework/flux-pam

@garlick garlick closed this as completed Jul 11, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
design don't expect this to ever be closed...
Projects
None yet
Development

No branches or pull requests

2 participants