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

[OpenBMC] Support setting root user password for the BMC #4196

Closed
whowutwut opened this issue Oct 27, 2017 · 3 comments
Closed

[OpenBMC] Support setting root user password for the BMC #4196

whowutwut opened this issue Oct 27, 2017 · 3 comments

Comments

@whowutwut
Copy link
Member

This is not yet available in the BMC, but we can get started on adding in the support in xCAT:

The man page for rspconfig show existing function:

       rspconfig noderange admin_passwd={currentpasswd,newpasswd}

       rspconfig noderange general_passwd={currentpasswd,newpasswd}

       rspconfig noderange *_passwd={currentpasswd,newpasswd}

I think we would want to follow this, but the only thing that would be supported is admin_passwd

The password interface is here: Password.interface.yaml

I got the following information from OpenBMC team about the API:

Method: POST
Endpoint: /xyz/openbmc_project/user/root/action/SetPassword
Data: { "data": ["passw0rd"]}

This should be enough to get some code going that would just return 503 until the service is in the code.

@xuweibj
Copy link

xuweibj commented Nov 21, 2017

@gurevichmark
Copy link
Contributor

Do we want this command to also modify xCAT passwd table to store the new new pw there ?

@gurevichmark
Copy link
Contributor

man page for rspconfig command should also be updated to include pw changing options under OpenBMC section.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants