{"id":2031,"date":"2019-05-26T23:39:42","date_gmt":"2019-05-26T15:39:42","guid":{"rendered":"https:\/\/www.linuxcool.com\/?p=2031"},"modified":"2019-05-26T23:39:44","modified_gmt":"2019-05-26T15:39:44","slug":"groupdel","status":"publish","type":"post","link":"https:\/\/www.linuxcool.com\/groupdel","title":{"rendered":"groupdel\u547d\u4ee4 – \u5220\u9664\u7528\u6237\u7ec4"},"content":{"rendered":"\n

groupdel\u547d\u4ee4\u7528\u4e8e\u5220\u9664\u6307\u5b9a\u7684\u5de5\u4f5c\u7ec4\uff0c\u672c\u547d\u4ee4\u8981\u4fee\u6539\u7684\u7cfb\u7edf\u6587\u4ef6\u5305\u62ec\/ect\/group\u548c\/ect\/gshadow\u3002<\/p>\n\n\n\n

userdel\u4fee\u6539\u7cfb\u7edf\u8d26\u6237\u6587\u4ef6\uff0c\u5220\u9664\u4e0e GROUP \u76f8\u5173\u7684\u6240\u6709\u9879\u76ee\u3002\u7ed9\u51fa\u7684\u7ec4\u540d\u5fc5\u987b\u5b58\u5728\u3002\u82e5\u8be5\u7fa4\u7ec4\u4e2d\u4ecd\u5305\u62ec\u67d0\u4e9b\u7528\u6237\uff0c\u5219\u5fc5\u987b\u5148\u5220\u9664\u8fd9\u4e9b\u7528\u6237\u540e\uff0c\u65b9\u80fd\u5220\u9664\u7fa4\u7ec4\u3002 <\/p>\n\n\n\n

\u8bed\u6cd5\u683c\u5f0f<\/strong>\uff1agroupdel [\u53c2\u6570] [\u7fa4\u7ec4\u540d\u79f0]<\/p>\n\n\n\n

\u5e38\u7528\u53c2\u6570<\/strong>\uff1a<\/p>\n\n\n\n
-h<\/td>\u663e\u793a\u5e2e\u52a9\u4fe1\u606f<\/td><\/tr>
-R<\/td>\u5728chroot_dir\u76ee\u5f55\u4e2d\u5e94\u7528\u66f4\u6539\u5e76\u4f7f\u7528chroot_dir\u76ee\u5f55\u4e2d\u7684\u914d\u7f6e\u6587\u4ef6<\/td><\/tr><\/tbody><\/table>\n\n\n\n

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

\u4f7f\u7528groupdel\u547d\u4ee4\u5220\u9664linuxcool\u5de5\u4f5c\u7ec4\uff1a<\/p>\n\n\n\n

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

\u67e5\u770blinuxcool\u7ec4\u662f\u5426\u5220\u9664\u6210\u529f\uff1a<\/p>\n\n\n\n

[root@linuxcool ~]# more \/etc\/group|grep linuxcool<\/pre>\n\n\n\n

\u901a\u8fc7\u67e5\u770b\/etc\/group\u914d\u7f6e\u6587\u4ef6\u91cc\u9762\u4e0d\u5b58\u5728linuxcool\u7ec4\uff0c\u8bf4\u660e\u5df2\u7ecf\u88ab\u5220\u9664\u4e86\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"

groupdel\u547d\u4ee4\u7528\u4e8e\u5220\u9664\u6307\u5b9a\u7684\u5de5\u4f5c\u7ec4\uff0c\u672c\u547d\u4ee4\u8981\u4fee\u6539\u7684\u7cfb\u7edf\u6587\u4ef6\u5305\u62ec\/ect\/group\u548c\/ect\/gshad […]<\/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\/2031"}],"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=2031"}],"version-history":[{"count":5,"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/posts\/2031\/revisions"}],"predecessor-version":[{"id":2611,"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/posts\/2031\/revisions\/2611"}],"wp:attachment":[{"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/media?parent=2031"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/categories?post=2031"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/tags?post=2031"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}