[
https://issues.apache.org/jira/browse/CLOUDSTACK-8339?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14557877#comment-14557877
]
ASF GitHub Bot commented on CLOUDSTACK-8339:
--------------------------------------------
Github user rsafonseca commented on the pull request:
https://github.com/apache/cloudstack/pull/288#issuecomment-105073554
Creating a user for this use would be worse, because it would require some
sort of 'standard' credential for ssh access. Or it would require that such
account didn't have ssh access and supplied account would need to sudo su
account to use It to run the script.. so no advantage.
I think that the best way to tackle this would be to use the actual agent
for registration. Letting the agent startup without config and listen on tcp
port for remote registration (no ssh or sudo) and just process the credentials
sent and self configure.
I can work on this if you'd like :)
> Allow non-root credentials for adding KVM hypervisor
> ----------------------------------------------------
>
> Key: CLOUDSTACK-8339
> URL: https://issues.apache.org/jira/browse/CLOUDSTACK-8339
> Project: CloudStack
> Issue Type: Bug
> Security Level: Public(Anyone can view this level - this is the
> default.)
> Components: KVM
> Affects Versions: 4.5.0
> Reporter: Marcus Sorensen
> Assignee: Marcus Sorensen
> Fix For: 4.6.0
>
>
> Users prefer to not provide root ssh just to run the hypervisor add from the
> UI. Testing a fix.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)