{"id":6041,"date":"2019-12-25T16:58:29","date_gmt":"2019-12-25T08:58:29","guid":{"rendered":"https:\/\/www.linuxcool.com\/?p=6041"},"modified":"2019-12-25T16:58:30","modified_gmt":"2019-12-25T08:58:30","slug":"groupmems","status":"publish","type":"post","link":"https:\/\/www.linuxcool.com\/groupmems","title":{"rendered":"groupmems\u547d\u4ee4 – \u7ba1\u7406\u7528\u6237\u4e3b\u8981\u7ec4\u7fa4\u7684\u6210\u5458"},"content":{"rendered":"\n

\u4f7f\u7528groupmems\u547d\u4ee4\u53ef\u4ee5\u7ba1\u7406\u7528\u6237\u4e3b\u8981\u7ec4\u7fa4\u7684\u6210\u5458\u3002<\/p>\n\n\n\n

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

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

-a<\/td>\u6dfb\u52a0\u7528\u6237\u4e3a\u7ec4\u6210\u5458<\/td><\/tr>
-d<\/td>\u4ece\u7ec4\u6210\u5458\u4e2d\u5220\u9664\u7528\u6237<\/td><\/tr>
-l<\/td>\u5217\u51fa\u7ec4\u7fa4\u7684\u6210\u5458<\/td><\/tr>
-p<\/td>\u4ece\u7ec4\u7fa4\u4e2d\u6e05\u9664\u6240\u6709\u6210\u5458<\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n

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

\u8bbe\u7f6e\u7528\u6237zhangsan\u7684\u4e3b\u8981\u7ec4\u7fa4\u4e3aroot\uff1a<\/p>\n\n\n\n

[root@linuxcool ~]# groupmems -g root -a zhangsan<\/pre>\n\n\n\n

\u5217\u51fa\u4e3b\u8981\u7ec4\u7fa4\u7684\u6210\u5458\uff1a<\/p>\n\n\n\n

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

\u4f7f\u7528groupmems\u547d\u4ee4\u53ef\u4ee5\u7ba1\u7406\u7528\u6237\u4e3b\u8981\u7ec4\u7fa4\u7684\u6210\u5458\u3002 \u8bed\u6cd5\u683c\u5f0f\uff1agroupmems [\u53c2\u6570] \u5e38\u7528\u53c2\u6570\uff1a – […]<\/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\/6041"}],"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=6041"}],"version-history":[{"count":1,"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/posts\/6041\/revisions"}],"predecessor-version":[{"id":6042,"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/posts\/6041\/revisions\/6042"}],"wp:attachment":[{"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/media?parent=6041"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/categories?post=6041"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/tags?post=6041"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}