{"action":"created","issue":{"url":"https://api.github.com/repos/Microsoft/BashOnWindows/issues/1520","repository_url":"https://api.github.com/repos/Microsoft/BashOnWindows","labels_url":"https://api.github.com/repos/Microsoft/BashOnWindows/issues/1520/labels{/name}","comments_url":"https://api.github.com/repos/Microsoft/BashOnWindows/issues/1520/comments","events_url":"https://api.github.com/repos/Microsoft/BashOnWindows/issues/1520/events","html_url":"https://github.com/Microsoft/BashOnWindows/issues/1520","id":196458144,"number":1520,"title":"Can't create non-administrator bash account","user":{"login":"mcswell","id":12723405,"avatar_url":"https://avatars.githubusercontent.com/u/12723405?v=3","gravatar_id":"","url":"https://api.github.com/users/mcswell","html_url":"https://github.com/mcswell","followers_url":"https://api.github.com/users/mcswell/followers","following_url":"https://api.github.com/users/mcswell/following{/other_user}","gists_url":"https://api.github.com/users/mcswell/gists{/gist_id}","starred_url":"https://api.github.com/users/mcswell/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mcswell/subscriptions","organizations_url":"https://api.github.com/users/mcswell/orgs","repos_url":"https://api.github.com/users/mcswell/repos","events_url":"https://api.github.com/users/mcswell/events{/privacy}","received_events_url":"https://api.github.com/users/mcswell/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":15,"created_at":"2016-12-19T16:30:29Z","updated_at":"2016-12-27T00:25:08Z","closed_at":null,"body":"I have installed bash using 'lxrun /install' under an administrator account.  I wish to create a bash user under a non-administrator Windows account, but cannot do so.\r\n\r\nMy non-admin Windows account has username maxwell.  If I'm running an administrator cmd prompt, and I run 'lxrun /setdefaultuser maxwell', then I get a bash username 'maxwell', but it can only be run from an administrator cmd prompt.\r\n\r\nIf I'm running a non-administrator cmd prompt, and I run 'lxrun /setdefaultuser maxwell' (or any other username), then I get the error msg  'Error: 0x80070002'.\r\n\r\nOther info: Windows version 10.0.14393.  I can't run 'strace', because this is an issue at the Windows cmd level.  Under the admin bash account, I did 'sudo apt-get update', 'sudo apt-get upgrade', and 'sudo apt-get dist-upgrade'."},"comment":{"url":"https://api.github.com/repos/Microsoft/BashOnWindows/issues/comments/269251402","html_url":"https://github.com/Microsoft/BashOnWindows/issues/1520#issuecomment-269251402","issue_url":"https://api.github.com/repos/Microsoft/BashOnWindows/issues/1520","id":269251402,"user":{"login":"fpqc","id":6083371,"avatar_url":"https://avatars.githubusercontent.com/u/6083371?v=3","gravatar_id":"","url":"https://api.github.com/users/fpqc","html_url":"https://github.com/fpqc","followers_url":"https://api.github.com/users/fpqc/followers","following_url":"https://api.github.com/users/fpqc/following{/other_user}","gists_url":"https://api.github.com/users/fpqc/gists{/gist_id}","starred_url":"https://api.github.com/users/fpqc/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fpqc/subscriptions","organizations_url":"https://api.github.com/users/fpqc/orgs","repos_url":"https://api.github.com/users/fpqc/repos","events_url":"https://api.github.com/users/fpqc/events{/privacy}","received_events_url":"https://api.github.com/users/fpqc/received_events","type":"User","site_admin":false},"created_at":"2016-12-27T00:25:08Z","updated_at":"2016-12-27T00:25:08Z","body":"Never install from Admin or you will wreck the permissions.  It will require the Admin token to get r/w on the dir unless you manually fix them.  It is kind of a bug that lxrun /uninstall /full as admin didn't delete the lxss dir."}}
{"actor":{"display_login":"fpqc"}}