{"id":1699,"date":"2019-04-29T23:13:44","date_gmt":"2019-04-29T15:13:44","guid":{"rendered":"https:\/\/www.linuxcool.com\/?p=1699"},"modified":"2019-04-29T23:39:11","modified_gmt":"2019-04-29T15:39:11","slug":"userconf","status":"publish","type":"post","link":"https:\/\/www.linuxcool.com\/userconf","title":{"rendered":"userconf\u547d\u4ee4 – \u8bbe\u7f6e\u7528\u6237\u8d26\u53f7"},"content":{"rendered":"\n
userconf\u7684\u547d\u4ee4\u5168\u79f0\u662f\u201cuser config\u201d\uff0c\u8be5\u547d\u4ee4\u662f\u7528\u6237\u8d26\u53f7\u8bbe\u7f6e\u7a0b\u5e8f\u3002 userconf\u5b9e\u9645\u4e0a\u4e3alinuxconf\u7684\u7b26\u53f7\u8fde\u63a5\uff0c\u63d0\u4f9b\u56fe\u5f62\u754c\u9762\u7684\u64cd\u4f5c\u65b9\u5f0f\uff0c\u4f9b\u7ba1\u7406\u5458\u5efa\u7acb\u4e0e\u7ba1\u7406\u5404\u7c7b\u8d26\u53f7\u3002\u82e5\u4e0d\u52a0\u4efb\u4f55\u53c2\u6570\uff0c\u5373\u8fdb\u5165\u56fe\u5f62\u754c\u9762\u3002 <\/p>\n\n\n\n
\u8bed\u6cd5\u683c\u5f0f\uff1a<\/strong>userconf [\u53c2\u6570]<\/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 \u65b0\u589e\u7528\u6237\u8d26\u53f7\uff1a<\/p>\n\n\n\n \u65b0\u589e\u7fa4\u7ec4\uff1a<\/p>\n\n\n\n \u5220\u9664\u7528\u6237\u8d26\u53f7\uff1a<\/p>\n\n\n\n \u5220\u9664\u7fa4\u7ec4\uff1a<\/p>\n\n\n\n userconf\u7684\u547d\u4ee4\u5168\u79f0\u662f\u201cuser config\u201d\uff0c\u8be5\u547d\u4ee4\u662f\u7528\u6237\u8d26\u53f7\u8bbe\u7f6e\u7a0b\u5e8f\u3002 userconf\u5b9e\u9645\u4e0a\u4e3al […]<\/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\/1699"}],"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=1699"}],"version-history":[{"count":4,"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/posts\/1699\/revisions"}],"predecessor-version":[{"id":1769,"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/posts\/1699\/revisions\/1769"}],"wp:attachment":[{"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/media?parent=1699"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/categories?post=1699"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/tags?post=1699"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}--addgroup<\u7fa4\u7ec4><\/td> \u65b0\u589e\u7fa4\u7ec4<\/td><\/tr> --adduser<\u7528\u6237ID><\u7fa4\u7ec4><\u7528\u6237\u540d\u79f0><shell><\/td> \u65b0\u589e\u7528\u6237\u8d26\u6237<\/td><\/tr> --delgroup<\u7fa4\u7ec4> <\/td> \u5220\u9664\u7fa4\u7ec4<\/td><\/tr> --deluser<\u7528\u6237ID><\/td> \u5220\u9664\u7528\u6237\u8d26\u53f7<\/td><\/tr> --help<\/td> \u663e\u793a\u5e2e\u52a9<\/td><\/tr><\/tbody><\/table>\n\n\n\n [root@linuxcool ~]# userconf --adduser 666 tt lord \/bin\/bash
<\/pre>\n\n\n\n[root@linuxcool ~]# userconf --addgroup linux
<\/pre>\n\n\n\n[root@linuxcool ~]# userconf --deluser 666
<\/pre>\n\n\n\n[root@linuxcool ~]# userconf --delgroup lord
<\/pre>\n","protected":false},"excerpt":{"rendered":"