deltacloud-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Enrique Fernandez Casado (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (DTACLOUD-458) When sending a 'run on instance' request, the user should be able to specify the username
Date Fri, 08 Feb 2013 10:39:12 GMT

    [ https://issues.apache.org/jira/browse/DTACLOUD-458?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13574369#comment-13574369
] 

Enrique Fernandez Casado commented on DTACLOUD-458:
---------------------------------------------------

The EC2 driver seems not to be the only place where the 'root' user has been hardcoded.

Core Deltacloud SSH "client" seems to hardcode it, as well.
https://github.com/apache/deltacloud/blob/master/server/lib/deltacloud/runner.rb#L80
                
> When sending a 'run on instance' request, the user should be able to specify the username
> -----------------------------------------------------------------------------------------
>
>                 Key: DTACLOUD-458
>                 URL: https://issues.apache.org/jira/browse/DTACLOUD-458
>             Project: DeltaCloud
>          Issue Type: Bug
>         Environment: Latest Deltacloud version from GitHub repository. EC2 driver.
>            Reporter: Enrique Fernandez Casado
>
> When sending a 'run on instance' request, Deltacloud (or the EC2 driver) seems to have
the 'root' user hardcoded. The end-user should be able to specify the username he wants to
remotely execute the command as (e.g. -F "username=<username>" using CURL).
> https://github.com/apache/deltacloud/blob/master/server/lib/deltacloud/drivers/ec2/ec2_driver.rb#L305
> 'root' is not the default user for Linux instances any more. It is actually quite common
to find Linux instances where the 'ec2-user' user is required.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Mime
View raw message