Hi Team,
I want to change opennebula oneadmin UI password.
Steps :
Change credentials for oneadmin or serveradmin
In order to change the credentials of oneadmin you have to do the following:
su - oneadmin
oneuser passwd 0
echo ‘oneadmin:PASSWORD’ > /var/lib/one/.one/one_auth
After changing the password, please restart OpenNebula (make sure the mm_sched process is also restarted)
so is this enough asking this since many components are interconnected with oneadmin.?
Also changing here will make changed in db as well?
Waiting for response.
FrancJP
(Francisco Picolini)
2
Hello @Senthil_Kumar_M,
Yes, you can change it as you mentioned, or do it through the CLI
oneuser passwd oneadmin
You can find more information on how to Manage Users, on the documentation.
Regards,
# oneuser passwd 0 <PASSWORD>
# echo 'oneadmin:<PASSWORD>' > /var/lib/one/.one/one_auth
I used this command but now i cant able to access UI NOW ,can you say how can i fix this.
Req:4640 UID:- one.zone.raftstatus result FAILURE [one.zone.raftstatus] User couldn’t be authenticated, aborting call.
FrancJP
(Francisco Picolini)
4
Hello @Senthil_Kumar_M
What error do you have when you try to access with Admin user?
Have you synced your database before restarting?
Steps should be:
- Stop OpenNebula Services
- Update the password as you’ve indicated (the “echo”)
- Update on the database:
chown oneadmin:oneadmin /var/lib/one/.one/one_auth
chmod 600 /var/lib/one/.one/one_auth
- Restart OpenNebula services
- Validate the change
su - oneadmin
oneuser show 0
In any case, check if this previous post in the forum could throw you some light:
Cheers,
system
(system)
Closed
5
This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.