# Lost oneadmin password

**URL:** <https://forum.opennebula.io/t/lost-oneadmin-password/2342>\
**Category:** Product Support\
**Created:** [June 7, 2016, 2:12am UTC](https://forum.opennebula.io/t/lost-oneadmin-password/2342 "2016-06-07T02:12:30Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![atodorov\_storpool](https://yyz1.discourse-cdn.com/flex031/user_avatar/forum.opennebula.io/atodorov_storpool/32/5327_2.png) [@atodorov\_storpool](https://forum.opennebula.io/u/atodorov_storpool)\
**Post date:** [June 7, 2016, 6:59am UTC](https://forum.opennebula.io/t/lost-oneadmin-password/2342/2 "2016-06-07T06:59:42Z")

</div>

Hi Richard,

You should generate the hash without the trailing newline character:

> echo -n password | openssl sha1

and then update the db file with the generated hash

If it does not help, as it is fresh install you can stop the opennebula service delete the one.db file and start it again.  
When there is no db file found it will create a new one using the credentials from ~/.one/one\_auth.

I hope this helps.  
Kind Regards,  
Anton Todorov

---

_[View the full topic](https://forum.opennebula.io/t/lost-oneadmin-password/2342)._
