[one-users] random GRAPHICS/PASSWD

Ruben S. Montero rsmontero at opennebula.org
Fri May 17 12:33:23 PDT 2013


http://dev.opennebula.org/issues/2068


On Fri, May 17, 2013 at 9:21 PM, Rolandas Naujikas <
rolandas.naujikas at mif.vu.lt> wrote:

> On 2013-05-17 22:09, Ruben S. Montero wrote:
>
>> Probably this could be part of the VM token generation for the VM server
>> (the gate for the VMs to oned).
>>
>> For example:
>>
>> GRAPHICS=[
>>   PASSWORD="auto",...]
>>
>> The above attribute will generate the tokens and add it to the password
>> field...
>>
>> Do we need it to be random (the VNC password)? Could be it part of the
>> user
>> credentials for other services as in http://dev.opennebula.org/**
>> issues/2066 <http://dev.opennebula.org/issues/2066>?
>>
>
> I would not trust users here, because mostly this password will be used
> only to access with noVNC. Better to have random password per instance as I
> did already in occi/ec2 templates with erb/ruby code:
>
> small.erb/m1.small.erb:
> ...
> GRAPHICS=[
>   TYPE=vnc,
>   PASSWD=<%= rand(36**16).to_s(36) %>
> ]
> ...
>
> Regards, Rolandas Naujikas
>
>  We could have in the user template:
>>
>> EC2_SECRET=
>> EC2_KEY=
>> VNC_PASSWORD=
>> ....
>>
>>
>>
>>
>> On Fri, May 17, 2013 at 10:18 AM, Rolandas Naujikas <
>> rolandas.naujikas at mif.vu.lt> wrote:
>>
>>  After yesterday IRC meeting I tried to find a way to generate random
>>> GRAPHICS/PASSWD for VM instance and I didn't find. I'm planing to add
>>> that
>>> in VM hook for CREATE, to make it in deployment file.
>>>
>>> Regards, Rolandas
>>> ______________________________****_________________
>>> Users mailing list
>>> Users at lists.opennebula.org
>>> http://lists.opennebula.org/****listinfo.cgi/users-opennebula.****org<http://lists.opennebula.org/**listinfo.cgi/users-opennebula.**org>
>>> <http://lists.opennebula.**org/listinfo.cgi/users-**opennebula.org<http://lists.opennebula.org/listinfo.cgi/users-opennebula.org>
>>> >
>>>
>>>
>>
>>
>>
>


-- 
-- 
Join us at OpenNebulaConf2013 in Berlin, 24-26 September, 2013
-- 
Ruben S. Montero, PhD
Project co-Lead and Chief Architect
OpenNebula - The Open Source Solution for Data Center Virtualization
www.OpenNebula.org | rsmontero at opennebula.org | @OpenNebula
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opennebula.org/pipermail/users-opennebula.org/attachments/20130517/9584be5a/attachment-0002.htm>


More information about the Users mailing list