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

Enable support for SSH command restrictions due to 2FA at NEMO #322

Merged
merged 2 commits into from
Nov 27, 2023

Conversation

giffels
Copy link
Member

@giffels giffels commented Nov 25, 2023

The NEMO HPC is going to enable 2FA on the login nodes and SSH can be restricted to certain commands only. This requires to avoid && and $(whoami) in commands.

This pull request changes the behaviour of the Moab site adapter to be compatible with that change.

@giffels giffels mentioned this pull request Nov 25, 2023
6 tasks
@codecov-commenter
Copy link

codecov-commenter commented Nov 25, 2023

Codecov Report

All modified and coverable lines are covered by tests ✅

Comparison is base (242e4c0) 98.87% compared to head (12c3b1b) 98.87%.

❗ Current head 12c3b1b differs from pull request most recent head edcbea5. Consider uploading reports for the commit edcbea5 to get more accurate results

Additional details and impacted files
@@           Coverage Diff           @@
##           master     #322   +/-   ##
=======================================
  Coverage   98.87%   98.87%           
=======================================
  Files          55       55           
  Lines        2218     2222    +4     
=======================================
+ Hits         2193     2197    +4     
  Misses         25       25           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@giffels giffels marked this pull request as ready for review November 25, 2023 10:43
@giffels giffels added the Improvement Code Improvements label Nov 25, 2023
@giffels giffels requested review from a team, mschnepf and RHofsaess and removed request for a team November 25, 2023 10:44
Copy link

@RHofsaess RHofsaess left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

What about the failing tests?

@giffels
Copy link
Member Author

giffels commented Nov 27, 2023

What about the failing tests?

They are fixed in #315 and not related to the code changes. Please, ignore it.

@giffels giffels requested a review from RHofsaess November 27, 2023 07:53
Copy link
Member

@mschnepf mschnepf left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM 👍 Thanks for your work

Copy link

@RHofsaess RHofsaess left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good 👍

@giffels giffels added this pull request to the merge queue Nov 27, 2023
Merged via the queue into MatterMiners:master with commit e841e1c Nov 27, 2023
12 of 17 checks passed
@giffels giffels deleted the fix/moab-2fa branch November 27, 2023 14:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Improvement Code Improvements
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants