{"id":4844,"date":"2019-08-25T15:10:45","date_gmt":"2019-08-25T07:10:45","guid":{"rendered":"https:\/\/www.linuxcool.com\/?p=4844"},"modified":"2019-08-31T00:07:05","modified_gmt":"2019-08-30T16:07:05","slug":"vigr","status":"publish","type":"post","link":"https:\/\/www.linuxcool.com\/vigr","title":{"rendered":"vigr\u547d\u4ee4 – \u4fee\u6539group\u3001gshadow\u6587\u4ef6"},"content":{"rendered":"\n

vigr\u547d\u4ee4\u53ef\u4ee5\u4fee\u6539group\u3001gshadow\u6587\u4ef6\uff0c\u4f7f\u7528vigr\u547d\u4ee4\u53ef\u4ee5\u7f16\u8f91\/etc\/group\u6587\u4ef6\u3002\u5f53\u5bfb\u627e\u4e00\u4e2a\u7f16\u8f91\u5668\u65f6\u5c06\u9996\u5148\u5c1d\u8bd5\u73af\u5883\u53d8\u91cf$VISUAL\uff0c\u7136\u540e\u662f\u73af\u5883\u53d8\u91cf$EDITOR\uff0c\u6700\u540e\u9ed8\u8ba4\u662fvi\u7f16\u8f91\u5668\u3002<\/p>\n\n\n\n

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

\u5e38\u7528\u53c2\u6570\uff1a<\/strong><\/p>\n\n\n\n
-g<\/td>\u4fee\u6539\u7ec4\u4fe1\u606f<\/td><\/tr>
-p<\/td>\u4fee\u6539\u5bc6\u7801\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>
-s<\/td>\u7f16\u8f91shadow \u6216 gshadow \u4fe1\u606f<\/td><\/tr><\/tbody><\/table>\n\n\n\n

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

\u4fee\u6539\u7ec4\u4fe1\u606f\uff1a<\/p>\n\n\n\n

[root@linuxcool ~]# vigr -g <\/pre>\n\n\n\n

\u4fee\u6539\u5bc6\u7801\u4fe1\u606f\uff1a<\/p>\n\n\n\n

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

vigr\u547d\u4ee4\u53ef\u4ee5\u4fee\u6539group\u3001gshadow\u6587\u4ef6\uff0c\u4f7f\u7528vigr\u547d\u4ee4\u53ef\u4ee5\u7f16\u8f91\/etc\/group\u6587\u4ef6\u3002\u5f53\u5bfb\u627e\u4e00 […]<\/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\/4844"}],"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=4844"}],"version-history":[{"count":7,"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/posts\/4844\/revisions"}],"predecessor-version":[{"id":4942,"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/posts\/4844\/revisions\/4942"}],"wp:attachment":[{"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/media?parent=4844"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/categories?post=4844"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/tags?post=4844"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}