The oneuser list shows password encrypted. In one_auth file, password in clear.
Le 3/8/12 12:46 PM, Nicolas Diogo a écrit : > Hello guys, > > i would appreciate if you could throw me a bone here.. > > i am strugling to understand how to enable a user to login through > Sunstone. > > the user and passwords used in opennebula /*do not seem to match*/ > between *files* and *oneuser* CLI > > why are these password hashes different? AND which is the one used by > CLI and Sunstone? > > oneadmin@myserver01:~$ cat .one/* > serveradmin:c305e051818ea144ed5454b32c43193526e5ac26 > serveradmin:c305e051818ea144ed5454b32c43193526e5ac26 > oneadmin:ab3410fd013384710ce63290934ca288 > serveradmin:c305e051818ea144ed5454b32c43193526e5ac26 > oneadmin@myserver01:~$ oneuser list > ID GROUP NAME > AUTH PASSWORD > 0 oneadmin oneadmin core > 49e9b268a6d4c8eb7f10855de46431ad5b9fd56a > 1 oneadmin serveradmin server_c > 8167bc222062a50e3a9fd68ac05d462deb15d648 > > these are the details after a default installation on a Debian 6 x64 > > i am trying to understand how to setup and connect to opennebula > through Sunstone and it is difficult for me. > > with regards, > > > > On 07/03/12 09:37, Nicolas Diogo wrote: >> >> >> the documentation does mention cipher >> http://opennebula.org/documentation:rel3.2:sunstone >> http://opennebula.org/documentation:rel3.2:cloud_auth#symmetric_key >> >> but it does not mention how to use it or how to change a password. >> >> anybody has a pointer about this? >> >> >> >> >> On 06/03/12 15:43, biro lehel wrote: >>> Yes, that is the password that I tried to use on the Sunstone log-in >>> screen, but it didn't work. I've also set /var/lib/one/.one/one_auth >>> as ONE_AUTH env. variable for oneadmin. >>> >>> My problem still persists. >>> >>> Regards, >>> Lehel. >>> >>> --- On *Tue, 3/6/12, Nicolas Diogo /<[email protected]> >>> <mailto:[email protected]>/* wrote: >>> >>> >>> From: Nicolas Diogo <[email protected]> >>> <mailto:[email protected]> >>> Subject: Re: [one-users] Can't log onto Sunstone [OpenNebula >>> 3.2.0, OpenSUSE 11.4] >>> To: "biro lehel" <[email protected]> >>> <mailto:[email protected]> >>> Date: Tuesday, March 6, 2012, 5:28 PM >>> >>> i had understood that password for sunstone is kept on: >>> >>> /var/lib/one/.one/one_auth >>> >>> with content like: >>> >>> oneadmin:yourpasswordinplaintext >>> >>> assuming that /var/lib/one/ is the $HOME for oneadmin >>> >>> >>> >>> >>> On 06/03/12 14:22, biro lehel wrote: >>>> Hello, >>>> >>>> I still couldn't fix my problem to log onto Sunstone, as I keep >>>> getting the "OpenNebula is not running" error. >>>> >>>> The relevant part of oned.log: >>>> >>>> Tue Mar 6 16:11:02 2012 [ReM][D]: UserPoolInfo method invoked >>>> Tue Mar 6 16:11:02 2012 [AuM][D]: Message received: LOG I 2 >>>> Command execution fail: >>>> /var/lib/one/remotes/auth/server_cipher/authenticate >>>> 'serveradmin' '33f166cddc4d8f9ffe2102cea013ff23a286bc58' >>>> ukbtkaYnnWypvN2hqaDZgdA5mF3S5R4q/sGkbnHvP9JqTNoUXw8LkewWOwILQLfk >>>> >>>> Tue Mar 6 16:11:02 2012 [AuM][I]: Command execution fail: >>>> /var/lib/one/remotes/auth/server_cipher/authenticate >>>> 'serveradmin' '33f166cddc4d8f9ffe2102cea013ff23a286bc58' >>>> ukbtkaYnnWypvN2hqaDZgdA5mF3S5R4q/sGkbnHvP9JqTNoUXw8LkewWOwILQLfk >>>> Tue Mar 6 16:11:02 2012 [AuM][D]: Message received: LOG I 2 >>>> sh: /var/lib/one/remotes/auth/server_cipher/authenticate: >>>> Permission denied >>>> >>>> Tue Mar 6 16:11:02 2012 [AuM][I]: sh: >>>> /var/lib/one/remotes/auth/server_cipher/authenticate: >>>> Permission denied >>>> Tue Mar 6 16:11:02 2012 [AuM][D]: Message received: LOG I 2 >>>> ExitCode: 126 >>>> >>>> Tue Mar 6 16:11:02 2012 [AuM][I]: ExitCode: 126 >>>> Tue Mar 6 16:11:02 2012 [AuM][D]: Message received: >>>> AUTHENTICATE FAILURE 2 - >>>> >>>> Tue Mar 6 16:11:02 2012 [AuM][E]: Auth Error: >>>> Tue Mar 6 16:11:02 2012 [ReM][E]: [UserPoolInfo] User couldn't >>>> be authenticated, aborting call. >>>> Tue Mar 6 16:11:09 2012 [VMM][I]: --Mark-- >>>> Tue Mar 6 16:11:09 2012 [InM][I]: --Mark-- >>>> Tue Mar 6 16:11:09 2012 [ReM][D]: HostPoolInfo method invoked >>>> Tue Mar 6 16:11:09 2012 [ReM][D]: VirtualMachinePoolInfo >>>> method invoked >>>> Tue Mar 6 16:11:09 2012 [ReM][D]: AclInfo method invoked >>>> >>>> My questions: >>>> >>>> * Who is "serveradmin"? It's the first time I see such a >>>> username; >>>> * Shouldn't I be logging in with "oneadmin" user, and it's >>>> system password (the password with which I normally log into my >>>> system)? >>>> * I found the encrypted passwords in one.db (two users are >>>> present, "oneadmin" and "serveradmin") Is there anything to do >>>> with them? >>>> >>>> >>>> >>>> _______________________________________________ >>>> Users mailing list >>>> [email protected] </mc/[email protected]> >>>> http://lists.opennebula.org/listinfo.cgi/users-opennebula.org >>> >>> >>> -- >>> sent with Debian Linux (http://www.debian.org) >>> free yourself into a safer internet >>> this message is only intended to its recipient >>> >> >> >> -- >> sent with Debian Linux (http://www.debian.org) >> free yourself into a safer internet >> this message is only intended to its recipient >> >> >> _______________________________________________ >> Users mailing list >> [email protected] >> http://lists.opennebula.org/listinfo.cgi/users-opennebula.org > > > -- > sent with Debian Linux (http://www.debian.org) > free yourself into a safer internet > this message is only intended to its recipient > > > _______________________________________________ > Users mailing list > [email protected] > http://lists.opennebula.org/listinfo.cgi/users-opennebula.org -- Olivier Sallou IRISA / University of Rennes 1 Campus de Beaulieu, 35000 RENNES - FRANCE Tel: 02.99.84.71.95 gpg key id: 4096R/326D8438 (keyring.debian.org) Key fingerprint = 5FB4 6F83 D3B9 5204 6335 D26D 78DC 68DB 326D 8438
_______________________________________________ Users mailing list [email protected] http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
