{"action":"created","issue":{"url":"https://api.github.com/repos/owncloud/core/issues/15762","labels_url":"https://api.github.com/repos/owncloud/core/issues/15762/labels{/name}","comments_url":"https://api.github.com/repos/owncloud/core/issues/15762/comments","events_url":"https://api.github.com/repos/owncloud/core/issues/15762/events","html_url":"https://github.com/owncloud/core/issues/15762","id":69645604,"number":15762,"title":"What's the correct way to use ./occ --password-from-env user:resetpassword","user":{"login":"jnfrmarks","id":8480343,"avatar_url":"https://avatars.githubusercontent.com/u/8480343?v=3","gravatar_id":"","url":"https://api.github.com/users/jnfrmarks","html_url":"https://github.com/jnfrmarks","followers_url":"https://api.github.com/users/jnfrmarks/followers","following_url":"https://api.github.com/users/jnfrmarks/following{/other_user}","gists_url":"https://api.github.com/users/jnfrmarks/gists{/gist_id}","starred_url":"https://api.github.com/users/jnfrmarks/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jnfrmarks/subscriptions","organizations_url":"https://api.github.com/users/jnfrmarks/orgs","repos_url":"https://api.github.com/users/jnfrmarks/repos","events_url":"https://api.github.com/users/jnfrmarks/events{/privacy}","received_events_url":"https://api.github.com/users/jnfrmarks/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/owncloud/core/labels/documentation","name":"documentation","color":"BFDADC"}],"state":"open","locked":false,"assignee":{"login":"carlaschroder","id":8388387,"avatar_url":"https://avatars.githubusercontent.com/u/8388387?v=3","gravatar_id":"","url":"https://api.github.com/users/carlaschroder","html_url":"https://github.com/carlaschroder","followers_url":"https://api.github.com/users/carlaschroder/followers","following_url":"https://api.github.com/users/carlaschroder/following{/other_user}","gists_url":"https://api.github.com/users/carlaschroder/gists{/gist_id}","starred_url":"https://api.github.com/users/carlaschroder/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/carlaschroder/subscriptions","organizations_url":"https://api.github.com/users/carlaschroder/orgs","repos_url":"https://api.github.com/users/carlaschroder/repos","events_url":"https://api.github.com/users/carlaschroder/events{/privacy}","received_events_url":"https://api.github.com/users/carlaschroder/received_events","type":"User","site_admin":false},"milestone":{"url":"https://api.github.com/repos/owncloud/core/milestones/31","html_url":"https://github.com/owncloud/core/milestones/8.1-current","labels_url":"https://api.github.com/repos/owncloud/core/milestones/31/labels","id":912160,"number":31,"title":"8.1-current","description":"","creator":{"login":"MorrisJobke","id":245432,"avatar_url":"https://avatars.githubusercontent.com/u/245432?v=3","gravatar_id":"","url":"https://api.github.com/users/MorrisJobke","html_url":"https://github.com/MorrisJobke","followers_url":"https://api.github.com/users/MorrisJobke/followers","following_url":"https://api.github.com/users/MorrisJobke/following{/other_user}","gists_url":"https://api.github.com/users/MorrisJobke/gists{/gist_id}","starred_url":"https://api.github.com/users/MorrisJobke/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MorrisJobke/subscriptions","organizations_url":"https://api.github.com/users/MorrisJobke/orgs","repos_url":"https://api.github.com/users/MorrisJobke/repos","events_url":"https://api.github.com/users/MorrisJobke/events{/privacy}","received_events_url":"https://api.github.com/users/MorrisJobke/received_events","type":"User","site_admin":false},"open_issues":156,"closed_issues":949,"state":"open","created_at":"2014-12-22T12:04:01Z","updated_at":"2015-04-30T16:19:01Z","due_on":"2015-04-02T22:00:00Z","closed_at":null},"comments":24,"created_at":"2015-04-20T18:03:32Z","updated_at":"2015-04-30T17:36:35Z","closed_at":null,"body":"\r\n### Steps to reproduce\r\n\r\n1. Install 8.1 enterprise\r\n2. invoke occ user:resetpassword:\r\n\r\nsudo -u www-data ./occ --password-from-env user:resetpassword <uid>\r\n\r\n### Expected behaviour\r\n\r\nNot sure; the option is not documented.  I'm trying to reset the user's password\r\n\r\n### Actual behaviour\r\n\r\nI can't change the users password using the --password-from-env option:\r\n\r\n```\r\n\r\nubuntu-14-lts: sudo -u www-data ./occ user:resetpassword --password-from-env jrm\r\n--password-from-env given, but OC_PASS is empty!\r\nubuntu-14-lts: echo $OC_PASS\r\njrm\r\n\r\n\r\n```\r\n\r\nHow does this work?\r\n\r\n\r\n### Server configuration\r\n\r\nUbuntu 14.04\r\nPHP 5.5.9\r\nownCloud Enterprise Edition 8.1 alpha 1 (daily) Build:2015-04-16T03:08:13+00:00 f50798a674bf223e1c8015b9a27287b2ac6c9f1a"},"comment":{"url":"https://api.github.com/repos/owncloud/core/issues/comments/97892023","html_url":"https://github.com/owncloud/core/issues/15762#issuecomment-97892023","issue_url":"https://api.github.com/repos/owncloud/core/issues/15762","id":97892023,"user":{"login":"carlaschroder","id":8388387,"avatar_url":"https://avatars.githubusercontent.com/u/8388387?v=3","gravatar_id":"","url":"https://api.github.com/users/carlaschroder","html_url":"https://github.com/carlaschroder","followers_url":"https://api.github.com/users/carlaschroder/followers","following_url":"https://api.github.com/users/carlaschroder/following{/other_user}","gists_url":"https://api.github.com/users/carlaschroder/gists{/gist_id}","starred_url":"https://api.github.com/users/carlaschroder/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/carlaschroder/subscriptions","organizations_url":"https://api.github.com/users/carlaschroder/orgs","repos_url":"https://api.github.com/users/carlaschroder/repos","events_url":"https://api.github.com/users/carlaschroder/events{/privacy}","received_events_url":"https://api.github.com/users/carlaschroder/received_events","type":"User","site_admin":false},"created_at":"2015-04-30T17:36:35Z","updated_at":"2015-04-30T17:36:35Z","body":"no @jnfrmarks, I want to keep it open until I am finished uncovering all the surprises."}}