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-131285 / 25.04 / Add API to migrate from root user #15441

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

anodos325
Copy link
Contributor

This commit adds an API endpoint to migrate root user to one with the specified username and password combination. If password is omitted then the one currently used for root is preserved for the new admin account. Various root account parameters are migrated to the new admin account such as:

  • ssh keys
  • password enabled status
  • two factor authentication configuration and secret
  • email address
  • shell
  • home directory

@anodos325 anodos325 added the WIP label Jan 20, 2025
@bugclerk bugclerk changed the title Add API to migrate from root user NAS-131285 / 25.04 / Add API to migrate from root user Jan 20, 2025
@bugclerk
Copy link
Contributor

This commit adds an API endpoint to migrate root user to one
with the specified username and password combination. If password
is omitted then the one currently used for root is preserved
for the new admin account. Various root account parameters are
migrated to the new admin account such as:

* ssh keys
* password enabled status
* two factor authentication configuration and secret
* email address
* shell
* home directory
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants