{"id":5612,"date":"2019-11-25T18:08:49","date_gmt":"2019-11-25T10:08:49","guid":{"rendered":"https:\/\/www.linuxcool.com\/?p=5612"},"modified":"2019-11-25T18:08:50","modified_gmt":"2019-11-25T10:08:50","slug":"pwck","status":"publish","type":"post","link":"https:\/\/www.linuxcool.com\/pwck","title":{"rendered":"pwck\u547d\u4ee4 – \u9a8c\u8bc1\u7cfb\u7edf\u8ba4\u8bc1\u6587\u4ef6"},"content":{"rendered":"\n

\u4f7f\u7528pwck\u547d\u4ee4\u7528\u6765\u9a8c\u8bc1\u7cfb\u7edf\u8ba4\u8bc1\u6587\u4ef6\/etc\/passwd\u548c\/etc\/shadow\u7684\u5185\u5bb9\u548c\u683c\u5f0f\u7684\u5b8c\u6574\u6027\u3002<\/p>\n\n\n\n

\u8bed\u6cd5\u683c\u5f0f\uff1a<\/strong>pwck [\u53c2\u6570] <\/p>\n\n\n\n

\u5e38\u7528\u53c2\u6570\uff1a<\/strong> <\/p>\n\n\n\n

-q<\/td>\u4ec5\u62a5\u544a\u9519\u8bef\u4fe1\u606f<\/td><\/tr>
-s<\/td>\u4ee5\u7528\u6237id\u6392\u5e8f\u6587\u4ef6<\/td><\/tr>
-r<\/td>\u53ea\u8bfb\u65b9\u5f0f\u8fd0\u884c\u6307\u4ee4<\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n

\u53c2\u8003\u5b9e\u4f8b<\/strong> <\/p>\n\n\n\n

\u68c0\u9a8c\u7528\u6237\u914d\u7f6e\u6587\u4ef6\/etc\/passwd\u548c\/etc\/shadow\u7684\u6587\u4ef6\u5185\u5bb9\u662f\u5426\u5408\u6cd5\u3001\u5b8c\u6574:<\/p>\n\n\n\n

[root@linuxcool ~]# pwck <\/pre>\n\n\n\n

\u9a8c\u8bc1\u5bc6\u7801\u6587\u4ef6\u5b8c\u6574\u6027\uff0c\u5728\/etc\/passwd\u548c\/etc\/shadow\u6587\u4ef6\u4e2d\u6309UID\u6392\u5e8f\u6761\u76ee:<\/p>\n\n\n\n

[root@linuxcool ~]# pwck -s <\/pre>\n","protected":false},"excerpt":{"rendered":"

\u4f7f\u7528pwck\u547d\u4ee4\u7528\u6765\u9a8c\u8bc1\u7cfb\u7edf\u8ba4\u8bc1\u6587\u4ef6\/etc\/passwd\u548c\/etc\/shadow\u7684\u5185\u5bb9\u548c\u683c\u5f0f\u7684\u5b8c\u6574\u6027\u3002 \u8bed\u6cd5 […]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":[],"categories":[7],"tags":[],"_links":{"self":[{"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/posts\/5612"}],"collection":[{"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/comments?post=5612"}],"version-history":[{"count":3,"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/posts\/5612\/revisions"}],"predecessor-version":[{"id":5646,"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/posts\/5612\/revisions\/5646"}],"wp:attachment":[{"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/media?parent=5612"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/categories?post=5612"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/tags?post=5612"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}