{"action":"created","issue":{"url":"https://api.github.com/repos/xuriwuyun/change-root-passwd/issues/1","labels_url":"https://api.github.com/repos/xuriwuyun/change-root-passwd/issues/1/labels{/name}","comments_url":"https://api.github.com/repos/xuriwuyun/change-root-passwd/issues/1/comments","events_url":"https://api.github.com/repos/xuriwuyun/change-root-passwd/issues/1/events","html_url":"https://github.com/xuriwuyun/change-root-passwd/issues/1","id":104419569,"number":1,"title":"你为什么不通过guestfs使用sed命令直接去替换shadow命令呢","user":{"login":"luashiping","id":2826557,"avatar_url":"https://avatars.githubusercontent.com/u/2826557?v=3","gravatar_id":"","url":"https://api.github.com/users/luashiping","html_url":"https://github.com/luashiping","followers_url":"https://api.github.com/users/luashiping/followers","following_url":"https://api.github.com/users/luashiping/following{/other_user}","gists_url":"https://api.github.com/users/luashiping/gists{/gist_id}","starred_url":"https://api.github.com/users/luashiping/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/luashiping/subscriptions","organizations_url":"https://api.github.com/users/luashiping/orgs","repos_url":"https://api.github.com/users/luashiping/repos","events_url":"https://api.github.com/users/luashiping/events{/privacy}","received_events_url":"https://api.github.com/users/luashiping/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-09-02T07:42:35Z","updated_at":"2015-09-02T07:47:34Z","closed_at":null,"body":"我使用了这个命令g.sh(\"sed -ir '/^root/s#root:([^:]+):(.*)#root:'\"+sha512_password+\"':\\2#' /etc/shadow\")去替换shadow文件，没报错，但是始终改不过来！如果可以的话，你的代码就不需要这么复杂了，呵呵"},"comment":{"url":"https://api.github.com/repos/xuriwuyun/change-root-passwd/issues/comments/136966128","html_url":"https://github.com/xuriwuyun/change-root-passwd/issues/1#issuecomment-136966128","issue_url":"https://api.github.com/repos/xuriwuyun/change-root-passwd/issues/1","id":136966128,"user":{"login":"luashiping","id":2826557,"avatar_url":"https://avatars.githubusercontent.com/u/2826557?v=3","gravatar_id":"","url":"https://api.github.com/users/luashiping","html_url":"https://github.com/luashiping","followers_url":"https://api.github.com/users/luashiping/followers","following_url":"https://api.github.com/users/luashiping/following{/other_user}","gists_url":"https://api.github.com/users/luashiping/gists{/gist_id}","starred_url":"https://api.github.com/users/luashiping/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/luashiping/subscriptions","organizations_url":"https://api.github.com/users/luashiping/orgs","repos_url":"https://api.github.com/users/luashiping/repos","events_url":"https://api.github.com/users/luashiping/events{/privacy}","received_events_url":"https://api.github.com/users/luashiping/received_events","type":"User","site_admin":false},"created_at":"2015-09-02T07:47:34Z","updated_at":"2015-09-02T07:47:34Z","body":"你有时间可以试一下"}}