{"action":"closed","number":51,"pull_request":{"url":"https://api.github.com/repos/chevah/compat/pulls/51","id":36018841,"html_url":"https://github.com/chevah/compat/pull/51","diff_url":"https://github.com/chevah/compat/pull/51.diff","patch_url":"https://github.com/chevah/compat/pull/51.patch","issue_url":"https://api.github.com/repos/chevah/compat/issues/51","number":51,"state":"closed","locked":false,"title":"[#2845] Fix userExists on Unix to read /etc/passwd as normal user.","user":{"login":"adiroiban","id":204609,"avatar_url":"https://avatars.githubusercontent.com/u/204609?v=3","gravatar_id":"","url":"https://api.github.com/users/adiroiban","html_url":"https://github.com/adiroiban","followers_url":"https://api.github.com/users/adiroiban/followers","following_url":"https://api.github.com/users/adiroiban/following{/other_user}","gists_url":"https://api.github.com/users/adiroiban/gists{/gist_id}","starred_url":"https://api.github.com/users/adiroiban/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/adiroiban/subscriptions","organizations_url":"https://api.github.com/users/adiroiban/orgs","repos_url":"https://api.github.com/users/adiroiban/repos","events_url":"https://api.github.com/users/adiroiban/events{/privacy}","received_events_url":"https://api.github.com/users/adiroiban/received_events","type":"User","site_admin":false},"body":"Problem\r\n=======\r\n\r\n/etc/passwd can be read by anyone on Unix ... but compat read it as root\r\n\r\n\r\nChanges\r\n=======\r\n\r\nRead file as service account.\r\n\r\n\r\nHow to test\r\n=========\r\n\r\nreviewers: @alibotean \r\n\r\ncheck that changes make sense.\r\n\r\nthanks!","created_at":"2015-05-22T10:34:55Z","updated_at":"2015-05-22T11:19:16Z","closed_at":"2015-05-22T11:19:16Z","merged_at":null,"merge_commit_sha":"e442ebb45c082a0bbd511855d7240820e29aa497","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/chevah/compat/pulls/51/commits","review_comments_url":"https://api.github.com/repos/chevah/compat/pulls/51/comments","review_comment_url":"https://api.github.com/repos/chevah/compat/pulls/comments{/number}","comments_url":"https://api.github.com/repos/chevah/compat/issues/51/comments","statuses_url":"https://api.github.com/repos/chevah/compat/statuses/ada303ba3edffbd61fdd39ad68d193b11d1ce325","head":{"label":"chevah:2845-unix-userExists","ref":"2845-unix-userExists","sha":"ada303ba3edffbd61fdd39ad68d193b11d1ce325","user":{"login":"chevah","id":1153635,"avatar_url":"https://avatars.githubusercontent.com/u/1153635?v=3","gravatar_id":"","url":"https://api.github.com/users/chevah","html_url":"https://github.com/chevah","followers_url":"https://api.github.com/users/chevah/followers","following_url":"https://api.github.com/users/chevah/following{/other_user}","gists_url":"https://api.github.com/users/chevah/gists{/gist_id}","starred_url":"https://api.github.com/users/chevah/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/chevah/subscriptions","organizations_url":"https://api.github.com/users/chevah/orgs","repos_url":"https://api.github.com/users/chevah/repos","events_url":"https://api.github.com/users/chevah/events{/privacy}","received_events_url":"https://api.github.com/users/chevah/received_events","type":"Organization","site_admin":false},"repo":{"id":7751679,"name":"compat","full_name":"chevah/compat","owner":{"login":"chevah","id":1153635,"avatar_url":"https://avatars.githubusercontent.com/u/1153635?v=3","gravatar_id":"","url":"https://api.github.com/users/chevah","html_url":"https://github.com/chevah","followers_url":"https://api.github.com/users/chevah/followers","following_url":"https://api.github.com/users/chevah/following{/other_user}","gists_url":"https://api.github.com/users/chevah/gists{/gist_id}","starred_url":"https://api.github.com/users/chevah/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/chevah/subscriptions","organizations_url":"https://api.github.com/users/chevah/orgs","repos_url":"https://api.github.com/users/chevah/repos","events_url":"https://api.github.com/users/chevah/events{/privacy}","received_events_url":"https://api.github.com/users/chevah/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/chevah/compat","description":"Chevah OS Compatibility Layer","fork":false,"url":"https://api.github.com/repos/chevah/compat","forks_url":"https://api.github.com/repos/chevah/compat/forks","keys_url":"https://api.github.com/repos/chevah/compat/keys{/key_id}","collaborators_url":"https://api.github.com/repos/chevah/compat/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/chevah/compat/teams","hooks_url":"https://api.github.com/repos/chevah/compat/hooks","issue_events_url":"https://api.github.com/repos/chevah/compat/issues/events{/number}","events_url":"https://api.github.com/repos/chevah/compat/events","assignees_url":"https://api.github.com/repos/chevah/compat/assignees{/user}","branches_url":"https://api.github.com/repos/chevah/compat/branches{/branch}","tags_url":"https://api.github.com/repos/chevah/compat/tags","blobs_url":"https://api.github.com/repos/chevah/compat/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/chevah/compat/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/chevah/compat/git/refs{/sha}","trees_url":"https://api.github.com/repos/chevah/compat/git/trees{/sha}","statuses_url":"https://api.github.com/repos/chevah/compat/statuses/{sha}","languages_url":"https://api.github.com/repos/chevah/compat/languages","stargazers_url":"https://api.github.com/repos/chevah/compat/stargazers","contributors_url":"https://api.github.com/repos/chevah/compat/contributors","subscribers_url":"https://api.github.com/repos/chevah/compat/subscribers","subscription_url":"https://api.github.com/repos/chevah/compat/subscription","commits_url":"https://api.github.com/repos/chevah/compat/commits{/sha}","git_commits_url":"https://api.github.com/repos/chevah/compat/git/commits{/sha}","comments_url":"https://api.github.com/repos/chevah/compat/comments{/number}","issue_comment_url":"https://api.github.com/repos/chevah/compat/issues/comments{/number}","contents_url":"https://api.github.com/repos/chevah/compat/contents/{+path}","compare_url":"https://api.github.com/repos/chevah/compat/compare/{base}...{head}","merges_url":"https://api.github.com/repos/chevah/compat/merges","archive_url":"https://api.github.com/repos/chevah/compat/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/chevah/compat/downloads","issues_url":"https://api.github.com/repos/chevah/compat/issues{/number}","pulls_url":"https://api.github.com/repos/chevah/compat/pulls{/number}","milestones_url":"https://api.github.com/repos/chevah/compat/milestones{/number}","notifications_url":"https://api.github.com/repos/chevah/compat/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/chevah/compat/labels{/name}","releases_url":"https://api.github.com/repos/chevah/compat/releases{/id}","created_at":"2013-01-22T12:05:56Z","updated_at":"2015-04-20T13:46:06Z","pushed_at":"2015-05-22T11:19:16Z","git_url":"git://github.com/chevah/compat.git","ssh_url":"git@github.com:chevah/compat.git","clone_url":"https://github.com/chevah/compat.git","svn_url":"https://github.com/chevah/compat","homepage":null,"size":2064,"stargazers_count":1,"watchers_count":1,"language":"Python","has_issues":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":1,"default_branch":"master"}},"base":{"label":"chevah:master","ref":"master","sha":"ec439197bd83561f903775b76527b354340047dc","user":{"login":"chevah","id":1153635,"avatar_url":"https://avatars.githubusercontent.com/u/1153635?v=3","gravatar_id":"","url":"https://api.github.com/users/chevah","html_url":"https://github.com/chevah","followers_url":"https://api.github.com/users/chevah/followers","following_url":"https://api.github.com/users/chevah/following{/other_user}","gists_url":"https://api.github.com/users/chevah/gists{/gist_id}","starred_url":"https://api.github.com/users/chevah/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/chevah/subscriptions","organizations_url":"https://api.github.com/users/chevah/orgs","repos_url":"https://api.github.com/users/chevah/repos","events_url":"https://api.github.com/users/chevah/events{/privacy}","received_events_url":"https://api.github.com/users/chevah/received_events","type":"Organization","site_admin":false},"repo":{"id":7751679,"name":"compat","full_name":"chevah/compat","owner":{"login":"chevah","id":1153635,"avatar_url":"https://avatars.githubusercontent.com/u/1153635?v=3","gravatar_id":"","url":"https://api.github.com/users/chevah","html_url":"https://github.com/chevah","followers_url":"https://api.github.com/users/chevah/followers","following_url":"https://api.github.com/users/chevah/following{/other_user}","gists_url":"https://api.github.com/users/chevah/gists{/gist_id}","starred_url":"https://api.github.com/users/chevah/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/chevah/subscriptions","organizations_url":"https://api.github.com/users/chevah/orgs","repos_url":"https://api.github.com/users/chevah/repos","events_url":"https://api.github.com/users/chevah/events{/privacy}","received_events_url":"https://api.github.com/users/chevah/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/chevah/compat","description":"Chevah OS Compatibility Layer","fork":false,"url":"https://api.github.com/repos/chevah/compat","forks_url":"https://api.github.com/repos/chevah/compat/forks","keys_url":"https://api.github.com/repos/chevah/compat/keys{/key_id}","collaborators_url":"https://api.github.com/repos/chevah/compat/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/chevah/compat/teams","hooks_url":"https://api.github.com/repos/chevah/compat/hooks","issue_events_url":"https://api.github.com/repos/chevah/compat/issues/events{/number}","events_url":"https://api.github.com/repos/chevah/compat/events","assignees_url":"https://api.github.com/repos/chevah/compat/assignees{/user}","branches_url":"https://api.github.com/repos/chevah/compat/branches{/branch}","tags_url":"https://api.github.com/repos/chevah/compat/tags","blobs_url":"https://api.github.com/repos/chevah/compat/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/chevah/compat/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/chevah/compat/git/refs{/sha}","trees_url":"https://api.github.com/repos/chevah/compat/git/trees{/sha}","statuses_url":"https://api.github.com/repos/chevah/compat/statuses/{sha}","languages_url":"https://api.github.com/repos/chevah/compat/languages","stargazers_url":"https://api.github.com/repos/chevah/compat/stargazers","contributors_url":"https://api.github.com/repos/chevah/compat/contributors","subscribers_url":"https://api.github.com/repos/chevah/compat/subscribers","subscription_url":"https://api.github.com/repos/chevah/compat/subscription","commits_url":"https://api.github.com/repos/chevah/compat/commits{/sha}","git_commits_url":"https://api.github.com/repos/chevah/compat/git/commits{/sha}","comments_url":"https://api.github.com/repos/chevah/compat/comments{/number}","issue_comment_url":"https://api.github.com/repos/chevah/compat/issues/comments{/number}","contents_url":"https://api.github.com/repos/chevah/compat/contents/{+path}","compare_url":"https://api.github.com/repos/chevah/compat/compare/{base}...{head}","merges_url":"https://api.github.com/repos/chevah/compat/merges","archive_url":"https://api.github.com/repos/chevah/compat/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/chevah/compat/downloads","issues_url":"https://api.github.com/repos/chevah/compat/issues{/number}","pulls_url":"https://api.github.com/repos/chevah/compat/pulls{/number}","milestones_url":"https://api.github.com/repos/chevah/compat/milestones{/number}","notifications_url":"https://api.github.com/repos/chevah/compat/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/chevah/compat/labels{/name}","releases_url":"https://api.github.com/repos/chevah/compat/releases{/id}","created_at":"2013-01-22T12:05:56Z","updated_at":"2015-04-20T13:46:06Z","pushed_at":"2015-05-22T11:19:16Z","git_url":"git://github.com/chevah/compat.git","ssh_url":"git@github.com:chevah/compat.git","clone_url":"https://github.com/chevah/compat.git","svn_url":"https://github.com/chevah/compat","homepage":null,"size":2064,"stargazers_count":1,"watchers_count":1,"language":"Python","has_issues":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":1,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/chevah/compat/pulls/51"},"html":{"href":"https://github.com/chevah/compat/pull/51"},"issue":{"href":"https://api.github.com/repos/chevah/compat/issues/51"},"comments":{"href":"https://api.github.com/repos/chevah/compat/issues/51/comments"},"review_comments":{"href":"https://api.github.com/repos/chevah/compat/pulls/51/comments"},"review_comment":{"href":"https://api.github.com/repos/chevah/compat/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/chevah/compat/pulls/51/commits"},"statuses":{"href":"https://api.github.com/repos/chevah/compat/statuses/ada303ba3edffbd61fdd39ad68d193b11d1ce325"}},"merged":false,"mergeable":true,"mergeable_state":"unstable","merged_by":null,"comments":3,"review_comments":0,"commits":1,"additions":12,"deletions":7,"changed_files":3}}