Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Meta] Handle or resolve Windows Compatibility Issues like hosts file/privilege escalation #246

Closed
rickmanelius opened this issue May 19, 2017 · 1 comment

Comments

@rickmanelius
Copy link
Contributor

rickmanelius commented May 19, 2017

This is a follow-up to #196 (comment), specifically with respect to the following:

Windows Compatibility: Addressing areas where linux/macOS assumptions fail (/etc/hosts, linux commands, .exe naming convention requirements on Windows, etc.).

  • Currently we check for the existence of the sudo command, and if it is found, use it to escalate privileges to add an entry to the /etc/hosts file. This is not a valid technique on Windows native, as sudo is not available and privilege escalation is done in other ways.
  • The purpose for the privilege escalation is to edit the hosts file, which is at /Windows/System32/drivers/etc/hosts instead of /etc/hosts. It's our belief that the hosts management library we're using can actually handle this on windows if we have a good privilege escalation technique.

Related source links or issues:

@rfay rfay changed the title Additional Windows Compatibility Issues [Meta] Handle or resolve Windows Compatibility Issues like hosts file/privilege escalation May 22, 2017
@rfay rfay added this to the v1.0 milestone Jun 13, 2017
@rickmanelius rickmanelius modified the milestones: v1.1, v1.0 Jun 27, 2017
@rickmanelius
Copy link
Contributor Author

This seems very much related to #511. Closing this item in favor of continuing the conversation there.

@rickmanelius rickmanelius removed this from the v1.1.0 milestone Dec 6, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants