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

NAS-133469 / 25.04 / Add ability for administrator to create onetime passwords #15359

Merged
merged 1 commit into from
Jan 15, 2025

Conversation

anodos325
Copy link
Contributor

This commit adds an API endpoint for administrator with ACCOUNT_WRITE privileges to create single-use passwords for user accounts that allow the user to authenticate to the truenas server. This is needed for STIG environments to allow administrators to help with creating new user accounts so that the user can authenticate to the TrueNAS server in order to configure two-factor authentication.

The single-use password may be used with the auth.login_ex mechanism ONETIME_PASSWORD.

@bugclerk
Copy link
Contributor

bugclerk commented Jan 9, 2025

@bugclerk bugclerk changed the title Add ability for administrator to create onetime passwords NAS-133469 / 25.04 / Add ability for administrator to create onetime passwords Jan 9, 2025
Copy link

@billohanlon billohanlon left a comment

Choose a reason for hiding this comment

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

LGTM

@anodos325 anodos325 force-pushed the NAS-133469 branch 3 times, most recently from 4aeca81 to 611a135 Compare January 15, 2025 13:17
This commit adds an API endpoint for administrator with ACCOUNT_WRITE
privileges to create single-use passwords for user accounts that
allow the user to authenticate to the truenas server. This is
needed for STIG environments to allow administrators to help with
creating new user accounts so that the user can authenticate to
the TrueNAS server in order to configure two-factor authentication.

The single-use password may be used with the auth.login_ex mechanism
PASSWORD_PLAIN.
@anodos325 anodos325 merged commit 97e2773 into master Jan 15, 2025
2 checks passed
@anodos325 anodos325 deleted the NAS-133469 branch January 15, 2025 20:10
@bugclerk
Copy link
Contributor

This PR has been merged and conversations have been locked.
If you would like to discuss more about this issue please use our forums or raise a Jira ticket.

@truenas truenas locked as resolved and limited conversation to collaborators Jan 15, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants