{"action":"created","issue":{"url":"https://api.github.com/repos/raincoats/utmpfucc/issues/1","repository_url":"https://api.github.com/repos/raincoats/utmpfucc","labels_url":"https://api.github.com/repos/raincoats/utmpfucc/issues/1/labels{/name}","comments_url":"https://api.github.com/repos/raincoats/utmpfucc/issues/1/comments","events_url":"https://api.github.com/repos/raincoats/utmpfucc/issues/1/events","html_url":"https://github.com/raincoats/utmpfucc/issues/1","id":208629716,"number":1,"title":"Does it work when utmp is rw-rw-r-- ?","user":{"login":"Wolf480pl","id":1498760,"avatar_url":"https://avatars.githubusercontent.com/u/1498760?v=3","gravatar_id":"","url":"https://api.github.com/users/Wolf480pl","html_url":"https://github.com/Wolf480pl","followers_url":"https://api.github.com/users/Wolf480pl/followers","following_url":"https://api.github.com/users/Wolf480pl/following{/other_user}","gists_url":"https://api.github.com/users/Wolf480pl/gists{/gist_id}","starred_url":"https://api.github.com/users/Wolf480pl/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Wolf480pl/subscriptions","organizations_url":"https://api.github.com/users/Wolf480pl/orgs","repos_url":"https://api.github.com/users/Wolf480pl/repos","events_url":"https://api.github.com/users/Wolf480pl/events{/privacy}","received_events_url":"https://api.github.com/users/Wolf480pl/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2017-02-18T10:08:39Z","updated_at":"2017-02-25T15:11:40Z","closed_at":"2017-02-25T15:11:40Z","body":"I haven't tested it, but after a quick look at the code, I think it requires write access to `/var/log/wtmp` and `/var/run/utmp`. On most distros, these files are `rw-rw-r-- root:utmp`, so modifying them would require either root or being in the `utmp` group.\r\n\r\nI guess it's still useful even if it requires root access, but in such case the example in the readme is a bit misleading."},"comment":{"url":"https://api.github.com/repos/raincoats/utmpfucc/issues/comments/282489955","html_url":"https://github.com/raincoats/utmpfucc/issues/1#issuecomment-282489955","issue_url":"https://api.github.com/repos/raincoats/utmpfucc/issues/1","id":282489955,"user":{"login":"Wolf480pl","id":1498760,"avatar_url":"https://avatars.githubusercontent.com/u/1498760?v=3","gravatar_id":"","url":"https://api.github.com/users/Wolf480pl","html_url":"https://github.com/Wolf480pl","followers_url":"https://api.github.com/users/Wolf480pl/followers","following_url":"https://api.github.com/users/Wolf480pl/following{/other_user}","gists_url":"https://api.github.com/users/Wolf480pl/gists{/gist_id}","starred_url":"https://api.github.com/users/Wolf480pl/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Wolf480pl/subscriptions","organizations_url":"https://api.github.com/users/Wolf480pl/orgs","repos_url":"https://api.github.com/users/Wolf480pl/repos","events_url":"https://api.github.com/users/Wolf480pl/events{/privacy}","received_events_url":"https://api.github.com/users/Wolf480pl/received_events","type":"User","site_admin":false},"created_at":"2017-02-25T15:11:40Z","updated_at":"2017-02-25T15:11:40Z","body":"Looks much better now, thanks!"}}
{"actor":{"display_login":"Wolf480pl"}}