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

broker: allow non-local exec to rank 0 in single-user instances #5676

Closed
grondo opened this issue Jan 11, 2024 · 1 comment
Closed

broker: allow non-local exec to rank 0 in single-user instances #5676

grondo opened this issue Jan 11, 2024 · 1 comment

Comments

@grondo
Copy link
Contributor

grondo commented Jan 11, 2024

Currently, the broker denies any non-local exec request on rank 0 due to security considerations on multi-user instances where the rank 0 broker is typically running on a locked down management node. However, in a single user instance such as a batch job, this configuration is unnecessary and may prevent certain use cases such as execution of commands that can only run on rank 0 from other broker ranks. (flux filemap map is the use case that precipitated this issue report)

Consider somehow detecting single-user mode and disabling this check in that case.

@garlick
Copy link
Member

garlick commented Jan 11, 2024

Well a simple thing would be to check for access.allow-guest-user = true in the config object.

@mergify mergify bot closed this as completed in fe40560 Jan 12, 2024
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

2 participants