{"id":8071,"date":"2020-06-22T15:55:22","date_gmt":"2020-06-22T07:55:22","guid":{"rendered":"https:\/\/www.linuxcool.com\/?p=8071"},"modified":"2022-05-26T15:09:37","modified_gmt":"2022-05-26T07:09:37","slug":"deluser","status":"publish","type":"post","link":"https:\/\/www.linuxcool.com\/deluser","title":{"rendered":"deluser\u547d\u4ee4 – \u5220\u9664\u7528\u6237\u8d26\u6237"},"content":{"rendered":"\n

deluser\u547d\u4ee4\u6765\u81ea\u4e8e\u82f1\u6587\u8bcd\u7ec4\u201cdelete user\u201d\u7684\u7f29\u5199\uff0c\u5176\u529f\u80fd\u662f\u7528\u4e8e\u5220\u9664\u7528\u6237\u8d26\u6237\u3002<\/p>\n\n\n\n

\u8bed\u6cd5\u683c\u5f0f\uff1a<\/strong>deluser [\u53c2\u6570] \u7528\u6237\u540d<\/p>\n\n\n\n

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

--remove-all-files <\/td>\u5220\u9664\u7528\u6237\u7684\u6240\u6709\u6587\u4ef6<\/td><\/tr>
--remove-home<\/td>\u5220\u9664\u7528\u6237\u7684\u4e3b\u76ee\u5f55\u548c\u90ae\u4ef6\u540e\u53f0\u5904\u7406\u7a0b\u5e8f<\/td><\/tr>
--backup-to<\/td>\u76ee\u6807\u76ee\u5f55\u8fdb\u884c\u5907\u4efd<\/td><\/tr>
--system <\/td>\u53ea\u6709\u7cfb\u7edf\u7528\u6237\u624d\u80fd\u5220\u9664<\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n

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

\u5220\u9664\u6307\u5b9a\u7684\u7528\u6237\u8d26\u6237\uff1a<\/p>\n\n\n\n

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

\u5c06\u7528\u6237\u4ece\u6307\u5b9a\u7684\u7ba1\u7406\u7528\u6237\u7ec4\u4e2d\u79fb\u51fa\uff1a<\/p>\n\n\n\n

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

\u5220\u9664\u6307\u5b9a\u7684\u7528\u6237\u8d26\u6237\u53ca\u76f8\u5173\u6240\u6709\u6587\u4ef6\uff1a<\/p>\n\n\n\n

[root@linuxcool ~]# deluser --remove-all-files linuxcool<\/strong><\/pre>\n","protected":false},"excerpt":{"rendered":"

deluser\u547d\u4ee4\u6765\u81ea\u4e8e\u82f1\u6587\u8bcd\u7ec4\u201cdelete user\u201d\u7684\u7f29\u5199\uff0c\u5176\u529f\u80fd\u662f\u7528\u4e8e\u5220\u9664\u7528\u6237\u8d26\u6237\u3002 \u8bed\u6cd5\u683c\u5f0f\uff1adel […]<\/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\/8071"}],"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=8071"}],"version-history":[{"count":6,"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/posts\/8071\/revisions"}],"predecessor-version":[{"id":10080,"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/posts\/8071\/revisions\/10080"}],"wp:attachment":[{"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/media?parent=8071"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/categories?post=8071"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/tags?post=8071"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}