{"action":"created","issue":{"url":"https://api.github.com/repos/ossec/ossec-hids/issues/934","repository_url":"https://api.github.com/repos/ossec/ossec-hids","labels_url":"https://api.github.com/repos/ossec/ossec-hids/issues/934/labels{/name}","comments_url":"https://api.github.com/repos/ossec/ossec-hids/issues/934/comments","events_url":"https://api.github.com/repos/ossec/ossec-hids/issues/934/events","html_url":"https://github.com/ossec/ossec-hids/pull/934","id":174074413,"number":934,"title":"Create OSSEC users and group as system members","user":{"login":"vikman90","id":10536251,"avatar_url":"https://avatars.githubusercontent.com/u/10536251?v=3","gravatar_id":"","url":"https://api.github.com/users/vikman90","html_url":"https://github.com/vikman90","followers_url":"https://api.github.com/users/vikman90/followers","following_url":"https://api.github.com/users/vikman90/following{/other_user}","gists_url":"https://api.github.com/users/vikman90/gists{/gist_id}","starred_url":"https://api.github.com/users/vikman90/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vikman90/subscriptions","organizations_url":"https://api.github.com/users/vikman90/orgs","repos_url":"https://api.github.com/users/vikman90/repos","events_url":"https://api.github.com/users/vikman90/events{/privacy}","received_events_url":"https://api.github.com/users/vikman90/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2016-08-30T17:11:39Z","updated_at":"2016-08-30T17:54:34Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/ossec/ossec-hids/pulls/934","html_url":"https://github.com/ossec/ossec-hids/pull/934","diff_url":"https://github.com/ossec/ossec-hids/pull/934.diff","patch_url":"https://github.com/ossec/ossec-hids/pull/934.patch"},"body":"This commit was originally uploaded to the Wazuh repository by @DLGolden:\r\n\r\n>This change causes the Linux groupadd and useradd to flag the ossec group and users as system accounts. This is supported by every Linux system that I have researched and should be all; however, if for some reason the system account option is not supported, it will add the group and users exactly as it did prior to the change."},"comment":{"url":"https://api.github.com/repos/ossec/ossec-hids/issues/comments/243523872","html_url":"https://github.com/ossec/ossec-hids/pull/934#issuecomment-243523872","issue_url":"https://api.github.com/repos/ossec/ossec-hids/issues/934","id":243523872,"user":{"login":"ddpbsd","id":4983989,"avatar_url":"https://avatars.githubusercontent.com/u/4983989?v=3","gravatar_id":"","url":"https://api.github.com/users/ddpbsd","html_url":"https://github.com/ddpbsd","followers_url":"https://api.github.com/users/ddpbsd/followers","following_url":"https://api.github.com/users/ddpbsd/following{/other_user}","gists_url":"https://api.github.com/users/ddpbsd/gists{/gist_id}","starred_url":"https://api.github.com/users/ddpbsd/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ddpbsd/subscriptions","organizations_url":"https://api.github.com/users/ddpbsd/orgs","repos_url":"https://api.github.com/users/ddpbsd/repos","events_url":"https://api.github.com/users/ddpbsd/events{/privacy}","received_events_url":"https://api.github.com/users/ddpbsd/received_events","type":"User","site_admin":false},"created_at":"2016-08-30T17:54:34Z","updated_at":"2016-08-30T17:54:34Z","body":"OpenBSD doesn't seem to like the change (group is still added, but this is ugly):\r\n```\r\n./init/adduser.sh ossec ossecm ossecr ossec /var/ossec\r\nWait for success...\r\ngroupadd: unknown option -- -\r\nusage: groupadd [-ov] [-g gid] group\r\nuseradd: unknown option -- -\r\nusage: useradd -D [-b base-directory] [-e expiry-time] [-f inactive-time]\r\n               [-g gid | name | =uid] [-k skel-directory] [-L login-class]\r\n               [-r low..high] [-s shell]\r\n       useradd [-mov] [-b base-directory] [-c comment] [-d home-directory]\r\n               [-e expiry-time] [-f inactive-time]\r\n               [-G secondary-group[,group,...]] [-g gid | name | =uid]\r\n               [-k skel-directory] [-L login-class] [-p password] [-r low..high]\r\n               [-s shell] [-u uid] user\r\nsuccess\r\n```"}}
{"actor":{"display_login":"ddpbsd"}}