{"id":379,"date":"2019-04-09T23:46:48","date_gmt":"2019-04-09T15:46:48","guid":{"rendered":"https:\/\/www.linuxcool.com\/?p=379"},"modified":"2022-05-17T21:27:14","modified_gmt":"2022-05-17T13:27:14","slug":"userdel","status":"publish","type":"post","link":"https:\/\/www.linuxcool.com\/userdel","title":{"rendered":"userdel\u547d\u4ee4 – \u5220\u9664\u7528\u6237\u8d26\u6237"},"content":{"rendered":"\n
userdel\u547d\u4ee4\u6765\u81ea\u4e8e\u82f1\u6587\u8bcd\u7ec4\u201cuser delete\u201d\u7684\u7f29\u5199\uff0c\u5176\u529f\u80fd\u662f\u5220\u9664\u7528\u6237\u8d26\u6237\u3002Linux\u7cfb\u7edf\u4e2d\u4e00\u5207\u90fd\u662f\u6587\u4ef6\uff0c\u7528\u6237\u4fe1\u606f\u88ab\u4fdd\u5b58\u5230\u4e86\/etc\/passwd\u3001\/etc\/shadow\u4ee5\u53ca\/etc\/group\u6587\u4ef6\u4e2d\uff0c\u56e0\u6b64\u4f7f\u7528userdel\u547d\u4ee4\u5b9e\u9645\u5c31\u662f\u5e2e\u52a9\u6211\u4eec\u5220\u9664\u4e86\u6307\u5b9a\u7528\u6237\u5728\u4e0a\u8ff0\u4e09\u4e2a\u6587\u4ef6\u4e2d\u7684\u5bf9\u5e94\u4fe1\u606f\u3002<\/p>\n\n\n\n
\u8bed\u6cd5\u683c\u5f0f\uff1a<\/strong>userdel [\u53c2\u6570] \u7528\u6237\u540d<\/p>\n\n\n\n \u5e38\u7528\u53c2\u6570\uff1a<\/strong><\/p>\n\n\n\n \u53c2\u8003\u5b9e\u4f8b<\/strong><\/p>\n\n\n\n \u5220\u9664\u6307\u5b9a\u7684\u7528\u6237\u8d26\u6237\u4fe1\u606f\uff1a<\/p>\n\n\n\n \u5220\u9664\u6307\u5b9a\u7684\u7528\u6237\u8d26\u6237\u4fe1\u606f\u53ca\u5bb6\u76ee\u5f55\uff1a<\/p>\n\n\n\n userdel\u547d\u4ee4\u6765\u81ea\u4e8e\u82f1\u6587\u8bcd\u7ec4\u201cuser delete\u201d\u7684\u7f29\u5199\uff0c\u5176\u529f\u80fd\u662f\u5220\u9664\u7528\u6237\u8d26\u6237\u3002Linux\u7cfb\u7edf\u4e2d\u4e00\u5207\u90fd […]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":[],"categories":[1],"tags":[],"_links":{"self":[{"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/posts\/379"}],"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=379"}],"version-history":[{"count":13,"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/posts\/379\/revisions"}],"predecessor-version":[{"id":9804,"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/posts\/379\/revisions\/9804"}],"wp:attachment":[{"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/media?parent=379"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/categories?post=379"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/tags?post=379"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}-f<\/td> \u5f3a\u5236\u5220\u9664\u7528\u6237\u8d26\u53f7<\/td><\/tr> -r<\/td> \u5220\u9664\u7528\u6237\u4e3b\u76ee\u5f55\u53ca\u5176\u4e2d\u7684\u4efb\u4f55\u6587\u4ef6<\/td><\/tr> -h<\/td> \u663e\u793a\u547d\u4ee4\u7684\u5e2e\u52a9\u4fe1\u606f<\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n [root@linuxcool ~]# userdel linuxcool<\/strong><\/pre>\n\n\n\n
[root@linuxcool ~]# userdel -r linuxcool<\/strong><\/pre>\n","protected":false},"excerpt":{"rendered":"