[jbosstools-issues] [JBoss JIRA] (JBIDE-23016) When starting CDK 2.2 with landrush for the first time, user will be prompted for sudo password

Martin Malina (JIRA) issues at jboss.org
Thu Sep 15 10:39:02 EDT 2016


    [ https://issues.jboss.org/browse/JBIDE-23016?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13293991#comment-13293991 ] 

Martin Malina commented on JBIDE-23016:
---------------------------------------

[~hardy.ferentschik], actually even if you're already logged in as an admin user on Windows, you still have to accept the admin permissions for the process. I would call this transparent as this is done by the OS and Eclipse do not have to support it in any way. But in my experience it is not true that as an admin there is no interaction needed - you won't need to enter your credentials, but you will still be prompted to accept this.

{quote}
BTW, does anybody know how to get back to the state where landrush needs to make these changes which require admin permissions? I mean how to recreate the first time use of landrush.
OS X - Remove the file created in /etc/resolver/
Linux - Remove generated file in /etc/dnsmasq.d and revert /etc/resolv.conf
{quote}
And what about Windows?

> When starting CDK 2.2 with landrush for the first time, user will be prompted for sudo password
> -----------------------------------------------------------------------------------------------
>
>                 Key: JBIDE-23016
>                 URL: https://issues.jboss.org/browse/JBIDE-23016
>             Project: Tools (JBoss Tools)
>          Issue Type: Bug
>          Components: cdk
>    Affects Versions: 4.4.1.AM3
>            Reporter: Martin Malina
>            Assignee: Rob Stryker
>            Priority: Critical
>             Fix For: 4.4.2.AM1
>
>
> The problem is that the first time you do vagrant up with cdk that has landrush set up, you will be asked to provide your sudo password so that landrush can be set up (unless you used it elsewhere already).
> This is definitely true on Mac, most likely on Linux also. On Windows, I expect that you will probably just be shown the system prompt for agreeing that the process uses admin rights.
> When I did this yesterday (while testing cdk 2.2 rc1), I actually started it from terminal first, so I could enter my password in the console. But I'm pretty sure this wouldn't work in Eclipse. So we need to figure out how to handle this scenario and also test what happens on Windows after installing devsuite and then starting cdk from devstudio - that is our most important use case.



--
This message was sent by Atlassian JIRA
(v6.4.11#64026)


More information about the jbosstools-issues mailing list