nanobox icon indicating copy to clipboard operation
nanobox copied to clipboard

[win] determining user status (admin) depends on English version

Open icebob opened this issue 8 years ago • 1 comments

On Windows 7, the nanobox run command returns with an error:

--------------------------------------------------------------------------------
+ ERROR:
+ Nanobox is designed to run as a standard user (non root)
+ Please run all nanobox commands as a non privileged user
--------------------------------------------------------------------------------

The reason is that the net session command returns with different message as Win 10. There are no entries in the list. Relevant code: https://github.com/nanobox-io/nanobox/blob/master/util/util_windows.go#L29

Otherwise this solution is not too good because this message is localized, so it is working only on English Win 10.

icebob avatar Oct 26 '17 19:10 icebob

Windows 7 is actually unsupported, so any bugs with using it are unlikely to be addressed, and often even expected.

danhunsaker avatar Oct 26 '17 19:10 danhunsaker