Hi,<div><br></div><div>The linux and opennebula accounts are not related, and they can have different names and passwords. Oneadmin is just the opennebula user with ID 0.</div><div><br></div><div>If you took the opennebula installation from someone who didn't give you the password... then you'll have to edit the database.</div>
<div><br></div><div>Update the user_pool table entry for the user with oid 0. You have to change the 'body' column, it contains an xml string, the PASSWORD element stores the sha1 of the plain password.</div><div>
<br></div><div>For instance, set the PASSWORD element to the sha1 of 'abc' :</div><div>a9993e364706816aba3e25717850c26c9cd0d89d</div><div><br></div><div>Then you just have to use that password in sunstone, or the cli:</div>
<div>$ echo "oneadmin:abc" > ~/.one/one_auth</div><div><br></div><div>cheers</div>--<br>Carlos Martín, MSc<br>Project Engineer<br>OpenNebula - The Open-source Solution for Data Center Virtualization<div><span style="border-collapse:collapse;color:rgb(136,136,136);font-family:arial,sans-serif;font-size:13px"><a href="http://www.OpenNebula.org" target="_blank">www.OpenNebula.org</a> | <a href="mailto:cmartin@opennebula.org" target="_blank">cmartin@opennebula.org</a> | <a href="http://twitter.com/opennebula" target="_blank">@OpenNebula</a></span><span style="border-collapse:collapse;color:rgb(136,136,136);font-family:arial,sans-serif;font-size:13px"><a href="mailto:cmartin@opennebula.org" style="color:rgb(42,93,176)" target="_blank"></a></span></div>
<br>
<br><br><div class="gmail_quote">On Wed, Feb 22, 2012 at 3:11 PM, Paul Richards <span dir="ltr"><<a href="mailto:epaulrichards@gmail.com">epaulrichards@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Hi,<br><br>I'm running into a few problems while trying to verify the installation of ON on Ubuntu 11.10:<br><br>oneadmin@on-opennebula-app:~$ onevm list<br>[VirtualMachinePoolInfo] User couldn't be authenticated, aborting call.<br>
<br>The one service starts without error and I can also start occi-server and sunstone-server. However, I cannot log into either using the oneadmin account due to an incorrect password. <br><br>I verified the linux user oneadmin has the same password that is specified in the /.one/one_auth file. I also tried to change the password using oneuser command:<br>
<br>oneadmin@on-opennebula-app:~/.one$ oneuser passwd 0 password<br>[UserChangePassword] User couldn't be authenticated, aborting call.<br><br>Any suggestions for how to resolve this? I took over the configuration of this box after someone had already installed ON 3.2.1. I'd like to try and resolve the problem without reinstalling.<br>
<br>Thanks<span class="HOEnZb"><font color="#888888"><br><br>Paul<br>
</font></span><br>_______________________________________________<br>
Users mailing list<br>
<a href="mailto:Users@lists.opennebula.org">Users@lists.opennebula.org</a><br>
<a href="http://lists.opennebula.org/listinfo.cgi/users-opennebula.org" target="_blank">http://lists.opennebula.org/listinfo.cgi/users-opennebula.org</a><br>
<br></blockquote></div><br>