{"id":1098,"date":"2019-04-25T12:19:02","date_gmt":"2019-04-25T04:19:02","guid":{"rendered":"https:\/\/www.linuxcool.com\/?p=1098"},"modified":"2019-04-28T12:34:13","modified_gmt":"2019-04-28T04:34:13","slug":"chfn","status":"publish","type":"post","link":"https:\/\/www.linuxcool.com\/chfn","title":{"rendered":"chfn\u547d\u4ee4 &#8211; \u7cfb\u7edf\u7ba1\u7406"},"content":{"rendered":"\n<p>chfn\u547d\u4ee4\u7684\u82f1\u6587\u5168\u79f0\u662f\u201cchange finger\u201d\uff0c\u5373\u7528\u6765\u6539\u53d8finger\u547d\u4ee4\u663e\u793a\u7684\u4fe1\u606f\u3002\u8fd9\u4e9b\u4fe1\u606f\u90fd\u5b58\u653e\u5728\/etc\u76ee\u5f55\u91cc\u7684passwd\u6587\u4ef6\u91cc\u3002\u82e5\u4e0d\u6307\u5b9a\u4efb\u4f55\u9009\u9879\uff0c\u5219chfn\u547d\u4ee4\u4f1a\u8fdb\u5165\u95ee\u7b54\u5f0f\u754c\u9762\u3002 <\/p>\n\n\n\n<p><strong>\u8bed\u6cd5\u683c\u5f0f\uff1a<\/strong> chfn [\u53c2\u6570]<br><\/p>\n\n\n\n<p><strong>\u5e38\u7528\u53c2\u6570<\/strong>\uff1a<\/p>\n\n\n\n<table class=\"wp-block-table has-fixed-layout\"><tbody><tr><td>-f<\/td><td>\u8bbe\u7f6e\u771f\u5b9e\u59d3\u540d<\/td><\/tr><tr><td>-h<\/td><td>\u8bbe\u7f6e\u5bb6\u4e2d\u7684\u7535\u8bdd\u53f7\u7801<\/td><\/tr><tr><td>-u <\/td><td>\u5728\u7ebf\u5e2e\u52a9<\/td><\/tr><tr><td>-v<\/td><td>\u663e\u793a\u7248\u672c\u4fe1\u606f<\/td><\/tr><\/tbody><\/table>\n\n\n\n<p><strong>\u53c2\u8003\u5b9e\u4f8b<\/strong><\/p>\n\n\n\n<p> \u6539\u53d8finger\u4fe1\u606f \uff1a<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">[root@linuxcool ~]# chfn <br>Changing finger information for root. <br>Name [root]: linuxcool <br>Office []: cool <br>Office Phone []: 888888 <br>Home Phone []: 999999 <br>Finger information changed.<\/pre>\n\n\n\n<p> \u6539\u53d8\u8d26\u53f7\u771f\u5b9e\u59d3\u540d\uff1a<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">[root@linuxcool ~]# chfn -f <br>hnunix Changing finger information for root. <br>Finger information changed.<\/pre>\n","protected":false},"excerpt":{"rendered":"<p>chfn\u547d\u4ee4\u7684\u82f1\u6587\u5168\u79f0\u662f\u201cchange finger\u201d\uff0c\u5373\u7528\u6765\u6539\u53d8finger\u547d\u4ee4\u663e\u793a\u7684\u4fe1\u606f\u3002\u8fd9\u4e9b\u4fe1\u606f\u90fd\u5b58\u653e\u5728 [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-1098","post","type-post","status-publish","format-standard","hentry","category-file"],"_links":{"self":[{"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/posts\/1098","targetHints":{"allow":["GET"]}}],"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=1098"}],"version-history":[{"count":9,"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/posts\/1098\/revisions"}],"predecessor-version":[{"id":1549,"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/posts\/1098\/revisions\/1549"}],"wp:attachment":[{"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/media?parent=1098"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/categories?post=1098"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/tags?post=1098"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}