{"id":269843,"date":"2023-04-19T20:30:08","date_gmt":"2023-04-19T12:30:08","guid":{"rendered":"https:\/\/lrxjmw.cn\/lxtbzzdjmmmc.html"},"modified":"2023-04-19T20:30:08","modified_gmt":"2023-04-19T12:30:08","slug":"lxtbzzdjmmmc","status":"publish","type":"post","link":"https:\/\/lrxjmw.cn\/lxtbzzdjmmmc.html","title":{"rendered":"Linux\u7cfb\u7edf\u628a\u771f\u6b63\u7684\u52a0\u5bc6\u5bc6\u7801\u4e32\u653e\u7f6e\u5728\u5f71\u5b50\u6587\u4ef6\u4e2d"},"content":{"rendered":"

\u7528\u6237\u4fe1\u606f\u6587\u4ef6\/etc\/passwd<\/p>\n

\u8fd9\u4e2a\u6587\u4ef6\u4e2d\u4fdd\u5b58\u7684\u5c31\u662f\u7cfb\u7edf<\/a>\u4e2d\u6240\u6709\u7684\u7528\u6237\u53ca\u5176\u5bf9\u5e94\u7684\u7528\u6237\u4e3b\u8981\u4fe1\u606f\u3002<\/p>\n

\u6587\u4ef6\u683c\u5f0f\uff1a<\/p>\n

\u7b2c1\u6570\u7ec4<\/p>\n

\u7b2c2\u6570\u7ec4<\/p>\n

\u7b2c3\u6570\u7ec4<\/p>\n

\u7b2c4\u6570\u7ec4<\/p>\n

\u7b2c5\u6570\u7ec4<\/p>\n

\u7b2c6\u6570\u7ec4<\/p>\n

\u7b2c7\u6570\u7ec4<\/p>\n

\u7528\u6237\u540d\u79f0<\/p>\n

\u5bc6\u7801\u6807\u5fd7<\/p>\n

\u7528\u6237ID<\/p>\n

\u7ec4ID<\/p>\n

\u7528\u6237\u8bf4\u660e<\/p>\n

\u5bb6\u76ee\u5f55<\/p>\n

\u767b\u5f55\u540e\u7684Shell<\/p>\n

\u6bd4\u5982\uff1aroot:x:0:0:root:\/root:\/bin\/bash<\/p>\n

lizhouwei:x:1000:1000:lizhouwei:\/home\/lizhouwei:\/bin\/bash<\/p>\n

\u7528\u6237\u540d\u79f0<\/p>\n

\u7b2c1\u4e2a\u6570\u7ec4\u662f\u7528\u6237\u540d\u79f0\uff0c\u7528\u6237\u540d\u79f0\u53ea\u662f\u4e3a\u4e86\u4fbf\u6377\u7ba1\u7406\u5458\u8bb0\u5fc6\uff0cLinux<\/a>\u7cfb\u7edf\u662f\u901a\u8fc7\u7528\u6237ID(UID)\u6765\u5206\u8fa8\u4e0d\u540c\u7528\u6237\u3001\u5206\u914d\u7528\u6237\u6743\u9650\u7684\u3002\u800c\u7528\u6237\u540d\u79f0\u548cUID\u7684\u5bf9\u5e94\u6b63\u662f\u901a\u8fc7\/etc\/passwd\u8fd9\u4e2a\u6587\u4ef6\u6765\u5b9a\u4e49\u7684\u3002<\/p>\n

\u5bc6\u7801\u6807\u5fd7<\/p>\n

\u7b2c2\u4e2a\u6570\u7ec4\u662f\u5bc6\u7801\u6807\u5fd7linux\u9632\u706b\u5899\u8bbe\u7f6e\uff0c\u8fd9\u513f\u7684\"x\"\u4ee3\u8868\u7684\u662f\u5bc6\u7801\u6807\u5fd7,\u8868\u793a\u7528\u6237\u662f\u62e5\u6709\u5bc6\u7801\u7684\uff0c\u800c\u4e0d\u662f\u771f\u6b63\u7684\u5bc6\u7801\uff0c\u771f\u6b63\u7684\u5bc6\u7801\u662f\u4fdd\u5b58\u5728\/etc\/shadow\u6587\u4ef6\u4e2d\u7684\u3002\u56e0\u4e3a\u8fd9\u4e2a\u6587\u4ef6\u7684\u6743\u9650\u662f644\uff0c\u67e5\u8be2\u547d\u4ee4\u5982\u4e0b\uff1a<\/p>\n

[root@lo\u547d\u4ee4<\/a>t\/]#ls-letc\/passwd<\/p>\n

linux\u7528\u6237\u7ba1\u7406\u5e38\u7528\u547d\u4ee4_linux \u7528\u6237\u6709\u6548\u671f_linux\u7528\u6237\u7ec4\u7ba1\u7406<\/p>\n

-rw-r--r--.1rootroot2282Nov520:19etc\/passwd<\/p>\n

linux\u7528\u6237\u7ba1\u7406\u5e38\u7528\u547d\u4ee4_linux\u7528\u6237\u7ec4\u7ba1\u7406_linux \u7528\u6237\u6709\u6548\u671f<\/p>\n

\u6240\u6709\u7528\u6237\u90fd\u53ef\u4ee5\u8bfb\u53d6\/etc\/passwd\u6587\u4ef6\uff0c\u8fd9\u6837\u7279\u522b\u5bb9\u6613\u9020\u6210\u5bc6\u7801\u7684\u6cc4\u5bc6\u3002\u4f3c\u4e4e\u5bc6\u7801\u662f\u52a0\u5bc6\u7684\uff0c\u5e76\u4e14\u91c7\u7528\u66b4\u529b\u7834\u89e3\u7684\u65b9\u6cd5\u4e5f\u662f\u624d\u80fd\u8fdb\u884c\u7834\u89e3\u7684\u3002\u6240\u4ee5\u5982\u4eca\u7684Linux\u7cfb\u7edf\u628a\u771f\u6b63\u7684\u52a0\u5bc6\u5bc6\u7801\u4e32\u653e\u7f6e\u5728\u5f71\u5b50\u6587\u4ef6\/etc\/shadow\u4e2d\uff0c\u800c\u5f71\u5b50\u6587\u4ef6\u7684\u6743\u9650\u662f000\uff0c\u67e5\u8be2\u547d\u4ee4\u5982\u4e0b\uff1a<\/p>\n

[root@localhost\/]#ls-letc\/shadow<\/p>\n

----------.1rootroot1266Nov520:19etc\/shadow<\/p>\n

\u8fd9\u4e2a\u6587\u4ef6\u662f\u6ca1\u6709\u4efb\u4f55\u6743\u9650\u7684\uff0c\u4f46\u7531\u4e8e\u6211\u662froot\u7528\u6237\uff0c\u6240\u4ee5\u8bfb\u53d6\u6743\u9650\u4e0d\u53d7\u9650\u5236\u3002\u5176\u5b9e\uff0c\u7528\u5f3a\u5236\u66f4\u6539\u7684\u65b9\u5f0f\u4e5f\u662f\u53ef\u4ee5\u624b\u5de5\u66f4\u6539\u8fd9\u4e2a\u6587\u4ef6\u7684\u5185\u5bb9\u7684\u3002\u53ea\u6709root\u7528\u6237\u53ef\u4ee5\u6d4f\u89c8\u548c\u64cd\u4f5c\u8fd9\u4e2a\u6587\u4ef6\uff0c\u8fd9\u6837\u5c31\u6700\u5927\u9650\u5ea6\u5730\u4fdd\u8bc1\u4e86\u5bc6\u7801\u7684\u5b89\u5168\u3002<\/p>\n

\u6240\u4ee5\u5728\/etc\/passwd\u4e2d\"x\"\u53ea\u662f\u5bc6\u7801\u6807\u5fd7\uff0c\u4ee3\u8868\u7528\u6237\u662f\u62e5\u6709\u5bc6\u7801\u7684\uff0c\u5177\u4f53\u7684\u5bc6\u7801\u8981\u53bb\/etc\/shadow\u6587\u4ef6\u4e2d\u67e5\u8be2\u3002\u5047\u5982\u5220\u6389\u4e86\u5bc6\u7801\u6807\u5fd7\"x\"\uff0c\u8fd9\u4e48\u7cfb\u7edf\u4f1a\u89c9\u5f97\u8fd9\u4e2a\u7528\u6237\u6ca1\u6709\u5bc6\u7801\uff0c\u56e0\u800c\u9020\u6210\u53ea\u8f93\u5165\u7528\u6237\u540d\u800c\u4e0d\u7528\u8f93\u5165\u5bc6\u7801\u5c31\u53ef\u4ee5\u767b\u5f55\uff08\u7528\u6237\u65e0\u5bc6\u7801\u65f6\u8fdc\u7a0b\u662f\u4e0d\u53ef\u4ee5\u767b\u5f55\u7684\uff09\u3002<\/p>\n

UID<\/p>\n

\u7b2c3\u4e2a\u6570\u7ec4\u5c31\u662f\u7528\u6237ID(UID)\uff0c\u5728Linux\u4e2d\u7cfb\u7edf\u662f\u901a\u8fc7UID\u6765\u8fa8\u8bc6\u4e0d\u540c\u7684\u7528\u6237\u548c\u5206\u914d\u7528\u6237\u6743\u9650\u7684\u3002\u8fd9\u79cdUID\u662f\u6709\u4f7f\u7528\u9650\u5236\u548c\u8981\u6c42\u7684\uff1a<\/p>\n

0\uff1a\u8d85\u7ea7\u7528\u6237UID\u3002\u5047\u5982\u7528\u6237UID\u4e3a0\uff0c\u5219\u4ee3\u8868\u8fd9\u4e2a\u5e10\u53f7\u662f\u7ba1\u7406\u5458\u5e10\u53f7\u3002\u5728Linux\u4e2d\u53ea\u9700\u628a\u5176\u4ed6\u7528\u6237\u7684UID\u66f4\u6539\u4e3a0\u5c31\u53ef\u4ee5\u628a\u666e\u901a\u7528\u6237\u5347\u7ea7\u6210\u7ba1\u7406\u5458\u4e86\u3002<\/p>\n

1~499\uff1a\u7cfb\u7edf\u7528\u6237\uff08\u4f2a\u7528\u6237\uff09UID\u3002\u8fd9\u79cdUID\u662f\u7cfb\u7edf\u4fdd\u7559\u7ed9\u7cfb\u7edf\u7528\u6237\u7684UID\uff0c\u4e5f\u5c31\u662f\u8bf4UID\u662f1~499\u8303\u56f4\u5185\u7684\u7528\u6237\u662f\u4e0d\u80fd\u767b\u5165\u7cfb\u7edf\u7684\uff0c\u800c\u662f\u62ff\u6765\u8fd0\u884c\u7cfb\u7edf\u6216\u670d\u52a1\u7684\u3002\u5176\u4e2d\uff0c1~99\u662f\u7cfb\u7edf\u4fdd\u7559\u7684\u5e10\u53f7\uff0c\u7cfb\u7edf\u624b\u52a8\u521b\u5efa\uff1b100~499\u662f\u9884\u7559\u7ed9\u7528\u6237\u521b\u5efa\u5e10\u53f7\u7684linux \u7528\u6237\u6709\u6548\u671f<\/strong>\uff0c\u5e76\u4e14\u8fd9\u79cd\u7528\u6237\u540c\u6837\u4e5f\u4e0d\u80fd\u88ab\u5220\u6389\uff0c\u7531\u4e8e\u4e00\u65e6\u5220\u6389\uff0c\u4f9d\u8d56\u8fd9\u79cd\u7528\u6237\u8fd0\u884c\u7684\u670d\u52a1\u6216\u7a0b\u5e8f\u5c31\u4e0d\u80fd\u6b63\u5e38\u6267\u884c\uff0c\u4f1a\u9020\u6210\u7cfb\u7edf\u95ee\u9898\u3002<\/p>\n

500~65535\uff1a\u666e\u901a\u7528\u6237UID\u3002\u6784\u5efa\u7684\u666e\u901a\u7528\u6237UID\u4ece500\u5f00\u59cb\uff0c\u6700\u5927\u523065535\u3002<\/p>\n

\u8bf4\u660e\uff1a\u57282.6.x\u5185\u6838\u4e4b\u540e\u7684Linux\u7cfb\u7edf\u7528\u6237UID\u65e9\u5df2\u53ef\u4ee5\u652f\u6301232\u4e2a\u7528\u6237\u4e86\u3002<\/p>\n

GID<\/p>\n

\u7b2c4\u4e2a\u6570\u7ec4\u5c31\u662f\u7528\u6237\u7684\u7ec4ID(GID)\uff0c\u8fd9\u4e2a\u7ec4ID\u662f\u6307\u7528\u6237\u7684\u521d\u59cb\u7ec4\u7684\u6807\u5fd7\u53f7\u3002\u5728Linux\u4e2d\u7528\u6237\u53ef\u4ee5\u540c\u65f6\u52a0\u5165\u521d\u59cb\u7ec4\u548c\u9644\u52a0\u7ec4\u3002<\/p>\n

\u521d\u59cb\u7ec4\uff1a\u6307\u7528\u6237\u4e00\u767b\u5165\u5f55\u5c31\u7acb\u5373\u62e5\u6709\u8fd9\u4e2a\u7528\u6237\u7ec4\u7684\u76f8\u5173\u6743\u9650\u3002\u6bcf\u4f4d\u7528\u6237\u7684\u521d\u59cb\u7ec4\u53ea\u80fd\u6709\u4e00\u4e2a\uff0c\u5728\u6dfb\u52a0\u7528\u6237\u65f6\u5047\u5982\u4e0d\u6307\u5b9a\u521d\u59cb\u7ec4\uff0c\u5219\u7cfb\u7edf\u4f1a\u6784\u5efa\u4e00\u4e2a\u4e0e\u7528\u6237\u540d\u76f8\u540c\u7684\u7ec4\u4f5c\u4e3a\u7528\u6237\u7684\u521d\u59cb\u7ec4\u3002\u8bf8\u5982\uff1a\u6211\u4eec\u624b\u5de5\u6dfb\u52a0\u7528\u6237lizhouwei\uff0c\u5728\u6784\u5efa\u7528\u6237lizhouwei\u7684\u540c\u65f6\u8fd8\u4f1a\u6784\u5efalizhouwei\u7ec4\u4f5c\u4e3alizhouwei\u7528\u6237\u7684\u521d\u59cb\u7ec4\u3002<\/p>\n

\u9644\u52a0\u7ec4\uff1a\u6307\u7528\u6237\u53ef\u4ee5\u52a0\u5165\u591a\u4e2a\u5176\u4ed6\u7684\u7528\u6237\u7ec4\uff0c\u5e76\u62e5\u6709\u8fd9\u79cd\u7ec4\u7684\u6743\u9650\u3002\u6bcf\u4f4d\u7528\u6237\u53ea\u80fd\u6709\u4e00\u4e2a\u521d\u59cb\u7ec4\uff0c\u9664\u521d\u59cb\u7ec4\u4ee5\u5916\uff0c\u628a\u7528\u6237\u518d\u52a0\u5165\u5176\u4ed6\u7684\u7528\u6237\u7ec4\uff0c\u8fd9\u79cd\u7528\u6237\u7ec4\u5c31\u662f\u8fd9\u4e2a\u7528\u6237\u7684\u9644\u52a0\u7ec4\u3002\u9644\u52a0\u7ec4\u53ef\u4ee5\u6709\u591a\u4e2a\uff0c\u4f46\u662f\u7528\u6237\u53ef\u4ee5\u6709\u8fd9\u79cd\u9644\u52a0\u7ec4\u7684\u6743\u9650\u3002\u8bf8\u5982\uff1a\u521a\u624d\u7684lizhouwei\u7528\u6237\u9664\u5c5e\u4e8e\u521d\u59cb\u7ec4lizhouwei\u5916\uff0c\u6211\u53c8\u628a\u5b83\u52a0\u5165\u4e86users\u7ec4\uff0c\u8fd9\u4e48lizhouwei\u7528\u6237\u540c\u65f6\u5c5e\u4e8elizhouwei\u7ec4\u3001users\u7ec4\uff0c\u5176\u4e2dlizhouwei\u662f\u521d\u59cb\u7ec4\uff0cusers\u662f\u9644\u52a0\u7ec4\u3002\u5176\u5b9e\uff0c\u521d\u59cb\u7ec4\u548c\u9644\u52a0\u7ec4\u7684\u8eab\u5206\u662f\u53ef\u4ee5\u66f4\u6539\u7684\uff0c\u5e76\u4e14\u6211\u4eec\u5728\u5de5\u4f5c\u4e2d\u4e0d\u66f4\u6539\u521d\u59cb\u7ec4\uff0c\u53ea\u66f4\u6539\u9644\u52a0\u7ec4\uff0c\u7531\u4e8e\u66f4\u6539\u4e86\u521d\u59cb\u7ec4\u6709\u65f6\u4f1a\u8ba9\u7ba1\u7406\u5458\u903b\u8f91\u6df7\u4e71\u3002<\/p>\n

\u7528\u6237\u8bf4\u660e<\/p>\n

\u7b2c5\u4e2a\u6570\u7ec4\u662f\u8fd9\u4e2a\u7528\u6237\u7684\u7b80\u5355\u8bf4\u660e\uff0c\u6ca1\u6709\u54ea\u4e9b\u7279\u6b8a\u4f5c\u7528\uff0c\u53ef\u4ee5\u4e0d\u5199\u3002<\/p>\n

\u5bb6\u76ee\u5f55<\/p>\n

\u7b2c6\u4e2a\u6570\u7ec4\u662f\u8fd9\u4e2a\u7528\u6237\u7684\u5bb6\u76ee\u5f55\uff0c\u4e5f\u5c31\u662f\u7528\u6237\u767b\u5165\u540e\u6709\u64cd\u4f5c\u6743\u9650\u7684\u8bbf\u95ee\u76ee\u5f55\uff0c\u6211\u4eec\u628a\u8fd9\u4e2a\u76ee\u5f55\u79f0\u4e3a\u7528\u6237\u7684\u5bb6\u76ee\u5f55\u3002<\/p>\n

\u666e\u901a\u7528\u6237\u5bb6\u76ee\u5f55\uff1a\/home\/\u7528\u6237\u540d\u6240\u6709\u8005\u6240\u5c5e\u7ec4\u90fd\u662f\u6b64\u7528\u6237\u6743\u9650700\uff1b<\/p>\n

\u8d85\u7ea7\u7528\u6237\u7684\u5bb6\u76ee\u5f55\uff1a\/root\u6240\u6709\u8005\u6240\u5c5e\u7ec4\u90fd\u662froot\u6743\u9650550\uff1b<\/p>\n

\u8bf4\u660e\uff1a\u5728psswd\u4e2d\u867d\u7136\u5c06\u7528id(UID)\u6539\u4e3a0\u7528\u6237\u7ba1\u7406\u5458\uff0c\u5176\u5bb6\u76ee\u5f55\u7684\u4f4d\u7f6e\u662f\u4e0d\u53d8\u7684\uff0c\u8fd8\u662f\/home\/\u7528\u6237\u540d<\/p>\n

\u767b\u9646\u4ee5\u540e\u7684Shell<\/p>\n

Shell\u5c31\u662fLinux\u7684\u547d\u4ee4\u7c7b\u5e93\u3002\u5c06Linux\u7684\u547d\u4ee4\u7ffb\u8bd1\u6210\u7cfb\u7edf\u53ef\u4ee5\u8fa8\u8bc6\u7684\u673a\u5668\u8bed\u8a00linux \u7528\u6237\u6709\u6548\u671f<\/strong>\uff0c\u540c\u65f6\u628a\u7cfb\u7edf\u7684\u6267\u884c\u7ed3\u679c\u7ffb\u8bd1\u4e3a\u7528\u6237\u53ef\u4ee5\u8fa8\u8bc6\u7684\u4e2d\u7ea7\u8bed\u8a00\u3002Linux\u7684\u6807\u51c6Shell\u5c31\u662f\/bin\/bash\u3002<\/p>\n

\u5728\/etc\/passwd\u6587\u4ef6\u4e2d\uff0c\u4f60\u4eec\u53ef\u4ee5\u628a\u8fd9\u4e2a\u6570\u7ec4\u7406\u89e3\u4e3a\u7528\u6237\u767b\u5165\u4ee5\u540e\u6240\u62e5\u6709\u7684\u6743\u9650\u3002\u5047\u5982\u5199\u5165\u7684\u662fLinux\u7684\u6807\u51c6Shell\uff0c\/bin\/bash\u5c31\u4ee3\u8868\u8fd9\u4e2a\u7528\u6237\u62e5\u6709\u6743\u9650\u8303\u56f4\u5185\u7684\u6240\u6709\u6743\u9650\u3002\u8bf8\u5982\uff1a<\/p>\n

[root@localhost\/]#vimetc\/passwd<\/p>\n

lizhouwei:x:1000:1000:lizhouwei:\/home\/lizhouwei:\/bin\/bash<\/p>\n

\u6bd4\u5982\uff1alizhouwei\u7528\u6237\uff0c\u5b83\u7684\u767b\u9646Shell\u662f\/bin\/bash\uff0c\u8fd9\u4e48\u8fd9\u4e2a\u7528\u6237\u5c31\u53ef\u4ee5\u4f7f\u7528\u666e\u901a\u7528\u6237\u7684\u6240\u6709\u6743\u9650\u3002\u5047\u5982\u628alizhouwei\u7528\u6237\u7684Shell\u66f4\u6539\u4e3a\/sbin\/nologin\uff0c\u8fd9\u4e48\u8fd9\u4e2a\u7528\u6237\u5c31\u4e0d\u80fd\u767b\u5165\u4e86\uff0c\u7531\u4e8e\/sbin\/nologin\u5c31\u662f\u4e25\u7981\u767b\u9646\u7684Shell\u3002\u5047\u5982\u6211\u5728\u8fd9\u513f\u88c5\u5165\u7684\u7cfb\u7edf\u547d\u4ee4\uff0c\u5982\/usr\/bin\/passwd\uff0c\u8fd9\u4e48\u8fd9\u4e2a\u7528\u6237\u53ef\u4ee5\u767b\u9646\uff0c\u4f46\u767b\u9646\u4ee5\u540e\u5c31\u53ea\u80fd\u66f4\u6539\u81ea\u5df1\u7684\u5bc6\u7801\u3002<\/p>\n

\u8bf4\u660e\uff1a\u5728\u7528\u6237\u7684Shell\u4e2d\u4e0d\u80fd\u968f\u610f\u5199\u5165\u548c\u767b\u5f55\u6ca1\u6709\u5173\u7cfb\u7684\u547d\u4ee4\uff0c\u5982ls\uff0c\u5426\u5219\u7cfb\u7edf\u4e0d\u4f1a\u8fa8\u8bc6\u90a3\u4e9b\u547d\u4ee4\uff0c\u4e5f\u5c31\u610f\u5473\u7740\u8fd9\u4e2a\u7528\u6237\u4e0d\u80fd\u767b\u5165\u3002<\/p>\n

\u5f71\u5b50\u6587\u4ef6\/etc\/shadow<\/p>\n

\u8fd9\u4e2a\u6587\u4ef6\u4e2d\u4fdd\u5b58\u7740\u7528\u6237\u7684\u5b9e\u9645\u52a0\u5bc6\u5bc6\u7801\u548c\u5bc6\u7801\u6709\u6548\u671f\u7b49\u53c2\u6570\u3002\u6211\u4eec\u65e9\u5df2\u6653\u5f97\u8fd9\u4e2a\u6587\u4ef6\u7684\u6743\u9650\u662f000\uff0c\u6240\u4ee5\u9664root\u7528\u6237\u5916\uff0c\u5176\u4ed6\u7528\u6237\u662f\u4e0d\u80fd\u67e5\u770b\u7684\uff0c\u8fd9\u6837\u505a\u6709\u6548\u5730\u4fdd\u8bc1\u4e86\u5bc6\u7801\u7684\u5b89\u5168\u3002\u6570\u7ec4\u4e4b\u95f4\u4f7f\u7528\":\"\u4f5c\u4e3a\u5206\u9694\u7b26\u3002<\/p>\n

\u7b2c1\u6570\u7ec4<\/p>\n

\u7b2c2\u6570\u7ec4<\/p>\n

\u7b2c3\u6570\u7ec4<\/p>\n

\u7b2c4\u6570\u7ec4<\/p>\n

\u7b2c5\u6570\u7ec4<\/p>\n

\u7b2c6\u6570\u7ec4<\/p>\n

\u7b2c7\u6570\u7ec4<\/p>\n

\u7b2c8\u4e2a\u6570\u7ec4<\/p>\n

\u7b2c9\u4e2a\u6570\u7ec4<\/p>\n

\u7528\u6237\u540d\u79f0<\/p>\n

\u5bc6\u7801<\/p>\n

\u5bc6\u7801\u6700\u540e\u4e00\u6b21\u66f4\u6539\u66f0\u671f<\/p>\n

\u5bc6\u7801\u7684\u4e24\u6b21\u66f4\u6539\u95f4\u9694\u65f6\u95f4<\/p>\n

\uff08\u548c\u7b2c3\u4e2a\u6570\u7ec4\u76f8\u6bd4\uff09<\/p>\n

\u5bc6\u7801\u7684\u6709\u6548\u671f<\/p>\n

linux\u7528\u6237\u7ec4\u7ba1\u7406_linux \u7528\u6237\u6709\u6548\u671f_linux\u7528\u6237\u7ba1\u7406\u5e38\u7528\u547d\u4ee4<\/p>\n

(\u548c\u7b2c3\u4e2a\u6570\u7ec4\u76f8\u6bd4\uff09<\/p>\n

\u5bc6\u7801\u66f4\u6539\u5230\u671f\u524d\u7684\u8b66\u544a\u5929\u6570<\/p>\n

\uff08\u548c\u7b2c5\u4e2a\u6570\u7ec4\u76f8\u6bd4\uff09<\/p>\n

\u5bc6\u7801\u8fc7\u671f\u540e\u7684\u5bbd\u9650\u5929\u6570<\/p>\n

\uff08\u548c\u7b2c5\u4e2a\u6570\u7ec4\u76f8\u6bd4\uff09<\/p>\n

\u5e10\u53f7\u5931\u6548\u65f6\u95f4<\/p>\n

\u4fdd\u7559<\/p>\n

\u6bd4\u5982\uff1alizhouwei:bIUmABK6YbB4k1w6Ai::0:99999:7:::<\/p>\n

\u7528\u6237\u540d\u79f0<\/p>\n

\u7b2c1\u4e2a\u6570\u7ec4\u4e2d\u4fdd\u5b58\u7684\u662f\u7528\u6237\u540d\u79f0\uff0c\u548c\/etc\/passwd\u6587\u4ef6\u7684\u7528\u6237\u540d\u79f0\u76f8\u5bf9\u5e94\u3002<\/p>\n

\u5bc6\u7801<\/p>\n

\u7b2c2\u4e2a\u6570\u7ec4\u4e2d\u4fdd\u5b58\u7684\u662f\u771f\u6b63\u52a0\u5bc6\u7684\u5bc6\u7801\u3002\u5728Linux\u7684\u5bc6\u7801\u91c7\u7528\u7684\u662fSHA512\u6563\u5217\u52a0\u5bc6\u7b97\u6cd5\u3002\u5047\u5982\u7528\u6237\u5bc6\u7801\u662f\"!!\"\u6216\"*\"\uff0c\u4ee3\u8868\u6ca1\u6709\u5bc6\u7801\u662f\u4e0d\u80fd\u767b\u5165\u3002\u8bf8\u5982\uff1a\u6240\u6709\u4f2a\u7528\u6237\u7684\u5bc6\u7801\u90fd\u662f\"!!\"\u6216\"*\"\uff0c\u4ee3\u8868\u6ca1\u6709\u5bc6\u7801\u662f\u4e0d\u80fd\u767b\u5165\u7684\u3002\u65b0\u521b\u5efa\u7684\u7528\u6237\u5047\u5982\u4e0d\u8bbe\u5b9a\u5bc6\u7801\uff0c\u8fd9\u4e48\u5b83\u7684\u5bc6\u7801\u9879\u4e5f\u662f\"!!\"\uff0c\u4ee3\u8868\u8fd9\u4e2a\u7528\u6237\u6ca1\u6709\u5bc6\u7801\uff0c\u4e0d\u80fd\u767b\u5165\u3002<\/p>\n

\u5bc6\u7801\u6700\u540e\u4e00\u6b21\u66f4\u6539\u66f0\u671f<\/p>\n

\u7b2c3\u4e2a\u6570\u7ec4\u662f\u5bc6\u7801\u7684\u66f4\u6539\u65e5\u671f\uff0c\u6570\u503c\u8868\u793a\u5f53\u524d\u65e5\u671f\u52301970\u5e741\u67081\u65e5\u7684\u5929\u6570\uff0c366\u4ee3\u8868\u7684\u5c31\u662f1971\u5e741\u67081\u65e5\u3002<\/p>\n

\u5bc6\u7801\u7684\u4e24\u6b21\u66f4\u6539\u95f4\u9694\u65f6\u95f4\uff08\u548c\u7b2c\u4e09\u4e2a\u6570\u7ec4\u76f8\u6bd4\uff09<\/p>\n

\u7b2c4\u4e2a\u6570\u7ec4\u662f\u5bc6\u7801\u7684\u4e24\u6b21\u66f4\u6539\u95f4\u9694\u65f6\u95f4\u3002\u8fd9\u4e2a\u6570\u7ec4\u8981\u548c\u7b2c3\u4e2a\u6570\u7ec4\u76f8\u6bd4linux\u89c6\u9891\uff0c\u4e5f\u5c31\u662f\u8bf4\u5bc6\u7801\u88ab\u66f4\u6539\u540e\u591a\u4e45\u4e0d\u80fd\u518d\u66f4\u6539\u5bc6\u7801\u3002\u5047\u5982\u662f0\uff0c\u5219\u5bc6\u7801\u53ef\u4ee5\u968f\u65f6\u66f4\u6539\u3002\u5047\u5982\u662f10\uff0c\u5219\u4ee3\u8868\u5bc6\u7801\u66f4\u6539\u540e10\u5929\u4e4b\u5185\u4e0d\u80fd\u518d\u5ea6\u66f4\u6539\u8fd9\u4e2a\u5bc6\u7801\u3002<\/p>\n

\u5bc6\u7801\u7684\u6709\u6548\u671f(\u548c\u7b2c\u4e09\u4e2a\u6570\u7ec4\u76f8\u6bd4\uff09<\/p>\n

\u7b2c5\u4e2a\u6570\u7ec4\u662f\u5bc6\u7801\u7684\u6709\u6548\u671f\u3002\u8fd9\u4e2a\u6570\u7ec4\u4e5f\u8981\u548c\u7b2c\u4e09\u4e2a\u6570\u7ec4\u76f8\u6bd4\uff0c\u4e5f\u5c31\u662f\u8bf4\u5bc6\u7801\u88ab\u66f4\u6539\u540e\u53ef\u4ee5\u751f\u6548\u591a\u5c11\u5929\u3002\u9ed8\u8ba4\u503c99999\uff0c\u4e5f\u5c31\u662f27\u5e74\uff0c\u4f60\u4eec\u53ef\u4ee5\u89c9\u5f97\u6c38\u4e45\u751f\u6548\u3002\u5047\u5982\u6539\u4e3a90\uff0c\u8fd9\u4e48\u5bc6\u7801\u88ab\u66f4\u653990\u5929\u4ee5\u540e\u5c31\u5fc5\u987b\u518d\u5ea6\u66f4\u6539\uff0c\u5426\u5219\u8be5\u7528\u6237\u5c31\u4e0d\u80fd\u767b\u5165\u4e86\u3002\u6211\u4eec\u5728\u7ba1\u7406\u670d\u52a1\u5668\u7684\u65f6\u4faf\u53ef\u4ee5\u901a\u8fc7\u8fd9\u4e2a\u6570\u7ec4\u5f3a\u5236\u7528\u6237\u5b9a\u671f\u66f4\u6539\u5bc6\u7801\u3002<\/p>\n

\u5bc6\u7801\u66f4\u6539\u5230\u671f\u524d\u7684\u8b66\u544a\u5929\u6570\uff08\u548c\u7b2c\u4e94\u4e2a\u6570\u7ec4\u76f8\u6bd4\uff09<\/p>\n

\u7b2c6\u4e2a\u6570\u7ec4\u662f\u5bc6\u7801\u66f4\u6539\u5230\u671f\u524d\u7684\u8b66\u544a\u5929\u6570\u3002\u8fd9\u4e2a\u6570\u7ec4\u8981\u548c\u7b2c\u4e94\u4e2a\u6570\u7ec4\u76f8\u6bd4\uff0c\u5c31\u662f\u5bc6\u7801\u5230\u671f\u524d\u9700\u63d0\u65e9\u51e0\u5929\u66f4\u6539\u3002\u9ed8\u8ba4\u503c\u662f7\uff0c\u4e5f\u5c31\u662f\u8bf4\u4ece\u5bc6\u7801\u5230\u671f\u524d\u76847\u5929\u5f00\u59cb\uff0c\u6bcf\u6b21\u767b\u5165\u7cfb\u7edf\u5c31\u4f1a\u8b66\u544a\u8be5\u7528\u6237\u66f4\u6539\u5bc6\u7801\u3002<\/p>\n

\u5bc6\u7801\u8fc7\u671f\u540e\u7684\u5bbd\u9650\u5929\u6570\uff08\u548c\u7b2c\u4e94\u4e2a\u6570\u7ec4\u76f8\u6bd4\uff09<\/p>\n

\u7b2c7\u4e2a\u6570\u7ec4\u662f\u5bc6\u7801\u8fc7\u671f\u540e\u7684\u5bbd\u9650\u5929\u6570\u3002\u4e5f\u5c31\u662f\u5bc6\u7801\u8fc7\u671f\u540e\uff0c\u7528\u6237\u5047\u5982\u8fd8\u662f\u6ca1\u6709\u66f4\u6539\u5bc6\u7801\uff0c\u8fd9\u4e48\u5728\u5bbd\u9650\u5929\u6570\u5185\u7528\u6237\u8fd8\u662f\u53ef\u4ee5\u767b\u5165\u7cfb\u7edf\u7684\uff1b\u5047\u5982\u8fc7\u4e86\u5bbd\u9650\u5929\u6570\uff0c\u8fd9\u4e48\u7528\u6237\u5c31\u96be\u4ee5\u518d\u4f7f\u7528\u8be5\u5bc6\u7801\u767b\u5165\u4e86\u3002\u5929\u6570\u5047\u5982\u662f10\uff0c\u5219\u4ee3\u8868\u5bc6\u7801\u8fc7\u671f10\u5929\u540e\u5931\u6548\uff1b\u5047\u5982\u662f0\uff0c\u5219\u4ee3\u8868\u5bc6\u7801\u8fc7\u671f\u540e\u7acb\u523b\u5931\u6548\uff1b\u5047\u5982\u662f-1\uff0c\u5219\u4ee3\u8868\u5bc6\u7801\u6c38\u8fdc\u4e0d\u4f1a\u5931\u6548\u3002<\/p>\n

\u5e10\u53f7\u5931\u6548\u65f6\u95f4<\/p>\n

\u7b2c8\u4e2a\u6570\u7ec4\u662f\u7528\u6cd5\u7684\u5e10\u53f7\u5931\u6548\u65f6\u95f4\u3002\u8fd9\u513f\u540c\u6837\u8981\u5199\u65f6\u95f4\u6233\uff0c\u4e5f\u5c31\u662f\u75281970\u5e741\u65e51\u65e5\u8fdb\u884c\u65f6\u95f4\u6362\u7b97\u3002\u5047\u5982\u8d85\u8fc7\u4e86\u5931\u6548\u65f6\u95f4\uff0c\u5373\u4f7f\u5bc6\u7801\u6ca1\u6709\u8fc7\u671f\uff0c\u7528\u6237\u4e5f\u5c31\u5931\u6548\uff0c\u96be\u4ee5\u4f7f\u7528\u4e86\u3002<\/p>\n

\u4fdd\u7559<\/p>\n

\u8fd9\u4e2a\u6570\u7ec4\u76ee\u524d\u6ca1\u6709\u4f7f\u7528\u3002<\/p>\n

\u5728Linux\u4e2d\uff0c\u5047\u5982\u9057\u5fd8\u4e86\u5bc6\u7801\uff0c\u5219\u53ef\u4ee5\u542f\u52a8\u6b65\u5165\u5355\u7528\u6237\u6a21\u5f0f\u3002\u8fd9\u65f6\u65e2\u53ef\u4ee5\u5220\u6389\/etc\/passwd\u6587\u4ef6\u4e2d\u7684\u5bc6\u7801\u6807\u793a\u6570\u7ec4\uff0c\u4e5f\u53ef\u4ee5\u5220\u6389\/etc\/shadow\u6587\u4ef6\u4e2d\u7684\u5bc6\u7801\u6807\u793a\u6570\u7ec4\uff0c\u90fd\u53ef\u4ee5\u8fbe\u5230\u6e05\u7a7a\u5bc6\u7801\u7684\u76ee\u7684<\/p>\n

\u7ec4\u4fe1\u606f\u6587\u4ef6\/etc\/group<\/p>\n

\u8fd9\u4e2a\u6587\u4ef6\u662f\u8bb0\u5f55\u7ec4ID(GID)\u548c\u7ec4\u540d\u7684\u5bf9\u5e94\u6587\u4ef6\u3002etc\/passwd\u6587\u4ef6\u7684\u7b2c\u56db\u4e2a\u6570\u7ec4\u8bb0\u5f55\u7684\u662f\u6bcf\u4f4d\u7528\u6237\u7684\u521d\u59cb\u7ec4\u7684ID<\/p>\n

\u6587\u4ef6\u683c\u5f0f\uff1a<\/p>\n

\u7b2c1\u6570\u7ec4<\/p>\n

\u7b2c2\u6570\u7ec4<\/p>\n

\u7b2c3\u6570\u7ec4<\/p>\n

\u7b2c4\u6570\u7ec4<\/p>\n

\u7ec4\u540d<\/p>\n

\u7ec4\u5bc6\u7801\u6807\u5fd7<\/p>\n

\u7ec4ID(GID)<\/p>\n

\u7ec4\u4e2d\u7684\u7528\u6237<\/p>\n

\u6bd4\u5982\uff1alizhouwei:x:1000:lizhouwei<\/p>\n

\u7ec4\u540d<\/p>\n

\u7b2c1\u4e2a\u6570\u7ec4\u662f\u7528\u6237\u7ec4\u7684\u7ec4\u540d\u3002<\/p>\n

\u7ec4\u5bc6\u7801\u6807\u5fd7<\/p>\n

\u7b2c2\u4e2a\u6570\u7ec4\u662f\u7ec4\u5bc6\u7801\u6807\u5fd7\u6570\u7ec4\u3002\u548c\/etc\/passwd\u6587\u4ef6\u4e00\u6837\uff0c\u8fd9\u513f\u7684\"x\"\u4ec5\u4ec5\u662f\u5bc6\u7801\u6807\u793a\uff0c\u771f\u6b63\u7684\u52a0\u5bc6\u7136\u540e\u7684\u7ec4\u5bc6\u7801\u4fdd\u5b58\u5728\/etc\/gshadow\u6587\u4ef6\u4e2d\u3002<\/p>\n

\u4e0d\u8fc7\uff0c\u7528\u6237\u8bbe\u7f6e\u5bc6\u7801\u662f\u4e3a\u4e86\u9a8c\u8bc1\u7528\u6237\u7684\u8eab\u5206\uff0c\u5e76\u4e14\u7528\u6237\u7ec4\u8bbe\u7f6e\u5bc6\u7801\u662f\u62ff\u6765\u6307\u5b9a\u7ec4\u7ba1\u7406\u5458\u7684\uff0c\u56e0\u4e3a\u7cfb\u7edf\u4e2d\u7684\u5e10\u53f7\u53ef\u80fd\u4f1a\u7279\u522b\u591a\uff0croot\u7528\u6237\u53ef\u80fd\u6ca1\u6709\u65f6\u95f4\u8fdb\u884c\u7528\u6237\u7684\u7ec4\u8c03\u6574\uff0c\u8fd9\u65f6\u53ef\u4ee5\u7ed9\u7528\u6237\u7ec4\u6307\u5b9a\u7ec4\u7ba1\u7406\u5458\uff0c\u5047\u5982\u6709\u7528\u6237\u987b\u8981\u52a0\u5165\u6216\u9000\u51fa\u67d0\u7528\u6237\u7ec4\uff0c\u53ef\u4ee5\u7531\u8be5\u7ec4\u7684\u7ec4\u7ba1\u7406\u5458\u4ee3\u66ffroot\u8fdb\u884c\u7ba1\u7406\u3002\u5e76\u4e14\u8fd9\u9879\u529f\u80fd\u76ee\u524d\u6781\u5c11\u4f7f\u7528\uff0c\u6211\u4eec\u4e5f\u6781\u5c11\u8bbe\u7f6e\u7ec4\u5bc6\u7801\u3002\u5047\u5982\u987b\u8981\u8d4b\u4e8e\u67d0\u7528\u6237\u8c03\u6574\u67d0\u4e2a\u7528\u6237\u7ec4\u7684\u6743\u9650\uff0c\u5219\u53ef\u4ee5\u4f7f\u7528sudo\u547d\u4ee4\u66ff\u4ee3\u3002<\/p>\n

\u7ec4ID(GID)<\/p>\n

\u7b2c3\u4e2a\u6570\u7ec4\u662f\u7528\u6237\u7ec4\u7684ID\uff0c\u548cUID\u4e00\u6837\uff0cLinux\u7cfb\u7edf\u662f\u901a\u8fc7GID\u6765\u533a\u522b\u4e0d\u540c\u7684\u7528\u6237\u7ec4\u7684\uff0c\u7ec4\u540d\u53ea\u662f\u4e3a\u4e86\u6613\u4e8e\u7ba1\u7406\u5458\u8fa8\u8bc6\u3002\u6240\u4ee5\uff0c\u5728\/etc\/group\u6587\u4ef6\u4e2d\u53ef\u4ee5\u67e5\u770b\u5bf9\u5e94\u7684\u7ec4\u540d\u548cGID\u3002<\/p>\n

\u7ec4\u4e2d\u7684\u7528\u6237<\/p>\n

\u7b2c4\u4e2a\u6570\u7ec4\u8868\u793a\u7684\u5c31\u662f\u8fd9\u4e2a\u7528\u6237\u7ec4\u4e2d\u7a76\u7adf\u5305\u542b\u4e86\u4ec0\u4e48\u7528\u6237\u3002\u987b\u8981\u6ce8\u610f\u7684\u662f\uff0c\u5047\u5982\u8be5\u7528\u6237\u7ec4\u662f\u8fd9\u4e2a\u7528\u6237\u7684\u521d\u59cb\u7ec4\uff0c\u5219\u8be5\u7528\u6237\u4e0d\u4f1a\u5199\u5165\u8fd9\u4e2a\u6570\u7ec4\u3002\u4e5f\u5c31\u662f\u8bf4\uff0c\u5199\u5165\u8fd9\u4e2a\u6570\u7ec4\u7684\u7528\u6237\u662f\u8fd9\u4e2a\u7528\u6237\u7ec4\u7684\u9644\u52a0\u7528\u6237\u3002\u4f8b\u5982lizhouwei\u7ec4\u5c31\u662f\u8fd9\u6837\u5199\u7684\"lizhouwei:x:1000\"\uff0c\u5e76\u6ca1\u6709\u5728\u7b2c\u56db\u4e2a\u6570\u7ec4\u4e2d\u5199\u5165lizhouwei\u7528\u6237\uff0c\u7531\u4e8elizhouwei\u7ec4\u662flizhouwei\u7528\u6237\u7684\u521d\u59cb\u7ec4\u3002\u5047\u5982\u8981\u67e5\u8be2\u90a3\u4e9b\u7528\u6237\u7684\u521d\u59cb\u7ec4\uff0c\u5219\u987b\u8981\u5148\u5230\/etc\/passwd\u6587\u4ef6\u4e2d\u67e5\u770bGID(\u7b2c\u56db\u4e2a\u6570\u7ec4\uff09\uff0c\u4e4b\u540e\u5230\/etc\/group\u6587\u4ef6\u4e2d\u6bd4\u5bf9\u7ec4\u540d\u3002<\/p>\n

linux \u7528\u6237\u6709\u6548\u671f_linux\u7528\u6237\u7ec4\u7ba1\u7406_linux\u7528\u6237\u7ba1\u7406\u5e38\u7528\u547d\u4ee4<\/p>\n

\u6bcf\u4f4d\u7528\u6237\u90fd\u53ef\u4ee5\u52a0\u5165\u591a\u4e2a\u9644\u52a0\u7ec4\uff0c\u800c\u4e14\u53ea\u80fd\u5c5e\u4e8e\u4e00\u4e2a\u4e2a\u521d\u59cb\u7ec4\u3002\u6240\u4ee5\u6211\u4eec\u5728\u5b9e\u9645\u5de5\u4f5c\u4e2d\uff0c\u5047\u5982\u987b\u8981\u628a\u7528\u6237\u52a0\u5165\u5176\u4ed6\u7ec4\uff0c\u5219\u987b\u8981\u6dfb\u52a0\u9644\u52a0\u7ec4\u3002\u901a\u5e38\u60c5\u51b5\u4e0b\uff0c\u7528\u6237\u7684\u521d\u59cb\u7ec4\u5c31\u662f\u5728\u6784\u5efa\u7528\u6237\u7684\u540c\u65f6\u5b8c\u5584\u7684\u548c\u7528\u6237\u540d\u76f8\u540c\u7684\u7ec4\u3002<\/p>\n

\u6ce8\u610f\uff0c\/etc\/passwd\u3001\/etc\/shadow\u3001\/etc\/group\u4e4b\u95f4\u7684\u5173\u7cfb\u4e3a\uff1a\u5148\u5728\/etc\/group\u6587\u4ef6\u4e2d\u67e5\u8be2\u7528\u6237\u7ec4\u7684GID\u548c\u7ec4\u540d\uff1b\u4e4b\u540e\u5728\/etc\/passwd\u6587\u4ef6\u4e2d\u67e5\u627e\u8be5GID\u662f\u90a3\u4e2a\u7528\u6237\u7684\u521d\u59cb\u7ec4\uff0c\u540c\u65f6\u63d0\u53d6\u8fd9\u4e2a\u7528\u6237\u7684\u7528\u6237\u540d\u548cUID\uff1b\u6700\u540e\u901a\u8fc7UID\u5230\/etc\/shadow\u6587\u4ef6\u4e2d\u63d0\u53d6\u548c\u8fd9\u4e2a\u7528\u6237\u76f8\u5339\u914d\u7684\u5bc6\u7801<\/p>\n

\u7ec4\u5bc6\u7801\u6587\u4ef6\/etc\/gshadow<\/p>\n

\u8fd9\u4e2a\u6587\u4ef6\u5c31\u662f\u4fdd\u5b58\u7ec4\u5bc6\u7801\u7684\u6587\u4ef6\u3002\u5047\u5982\u6211\u4eec\u7ed9\u7528\u6237\u7ec4\u8bbe\u5b9a\u4e86\u7ec4\u7ba1\u7406\u5458\uff0c\u5e76\u7ed9\u8be5\u7528\u6237\u7ec4\u8bbe\u5b9a\u4e86\u7ec4\u5bc6\u7801\uff0c\u8fd9\u4e48\u7ec4\u5bc6\u7801\u5c31\u4fdd\u5b58\u5728\u8fd9\u4e2a\u6587\u4ef6\u4e2d\uff0c\u7ec4\u7ba1\u7406\u5458\u5c31\u53ef\u4ee5\u501f\u52a9\u8fd9\u4e2a\u5bc6\u7801\u7ba1\u7406\u8005\u4e2a\u7528\u6237\u7ec4\u4e86\u3002<\/p>\n

\u6587\u4ef6\u683c\u5f0f\uff1a<\/p>\n

\u7b2c1\u6570\u7ec4<\/p>\n

\u7b2c2\u6570\u7ec4<\/p>\n

\u7b2c3\u6570\u7ec4<\/p>\n

\u7b2c4\u6570\u7ec4<\/p>\n

\u7ec4\u540d<\/p>\n

\u7ec4\u5bc6\u7801<\/p>\n

\u7ec4\u7ba1\u7406\u5458\u7528\u6237\u540d<\/p>\n

\u7ec4\u4e2d\u7684\u9644\u52a0\u7528\u6237<\/p>\n

\u6bd4\u5982\uff1alizhouwei:!!::lizhouwei<\/p>\n

\u7ec4\u540d<\/p>\n

\u7b2c1\u4e2a\u6570\u7ec4\u662f\u7528\u6237\u7684\u7ec4\u540d\u3002<\/p>\n

\u7ec4\u5bc6\u7801<\/p>\n

\u7b2c2\u4e2a\u6570\u7ec4\u5c31\u662f\u5b9e\u9645\u52a0\u5bc6\u7684\u7ec4\u5bc6\u7801\u3002\u6ce8\u610f\uff0c\u5bf9\u4e8e\u5927\u591a\u6570\u7528\u6237\u6765\u8bf4\uff0c\u8fd9\u4e2a\u6570\u7ec4\u4e0d\u662f\u7a7a\u5c31\u662f\"!\"\uff0c\u4ee3\u8868\u8fd9\u4e2a\u7ec4\u6ca1\u6709\u5408\u6cd5\u7684\u7ec4\u5bc6\u7801\u3002<\/p>\n

\u7ec4\u7ba1\u7406\u5458\u7528\u6237\u540d<\/p>\n

\u7b2c3\u4e2a\u6570\u7ec4\u8868\u793a\u8fd9\u4e2a\u7ec4\u7684\u7ba1\u7406\u5458\u662f\u90a3\u4e2a\u7528\u6237\u3002<\/p>\n

\u7ec4\u4e2d\u7684\u9644\u52a0\u7528\u6237<\/p>\n

\u7b2c4\u4e2a\u6570\u7ec4\u7528\u4e8e\u663e\u793a\u8fd9\u4e2a\u7528\u6237\u7ec4\u4e2d\u6709\u4ec0\u4e48\u9644\u52a0\u7528\u6237\u3002<\/p>\n

\u7528\u6237\u6a21\u677f\u76ee\u5f55\/etc\/skel\/<\/p>\n

\u6b64\u6587\u4ef6\u662f\u4e00\u4e2a\u7528\u6237\u521b\u5efa\u7684\u65f6\u4faf\u4e00\u4e2a\u6a21\u677f,\u5047\u5982\u8be5\/etc\/skel\u6587\u4ef6\u5939\u6709\u6587\u4ef6\u7684\u8bdd,\u4f7f\u7528useradd\u547d\u4ee4\u5219\u4f1a\u5c06\/etc\/skel\/\u4e0b\u7684\u6587\u4ef6\u62f7\u8d1d\u5230\u65b0\u5efa\u7528\u6237\u7684\/home\/\u7528\u6237\u540d\u6587\u4ef6\u5939\u4e0b<\/p>\n","protected":false},"excerpt":{"rendered":"

\u8fd9\u4e2a\u6587\u4ef6\u4e2d\u4fdd\u5b58\u7684\u5c31\u662f\u7cfb\u7edf\u4e2d\u6240\u6709\u7684\u7528\u6237\u53ca\u5176\u5bf9\u5e94\u7684\u7528\u6237\u4e3b\u8981\u4fe1\u606f\u3002\u8fd9\u4e2a\u6587\u4ef6\u4e2d\u4fdd\u5b58\u7740\u7528\u6237\u7684\u5b9e\u9645\u52a0\u5bc6\u5bc6\u7801\u548c\u5bc6\u7801\u6709\u6548\u671f\u7b49\u53c2\u6570\u3002\u6211\u4eec\u5728\u7ba1\u7406\u670d\u52a1\u5668\u7684\u65f6\u5019\u53ef\u4ee5\u901a\u8fc7\u8fd9\u4e2a\u5b57\u6bb5\u5f3a\u5236\u7528\u6237\u5b9a\u671f\u4fee\u6539\u5bc6\u7801\u3002\u5982\u679c\u6211\u4eec\u7ed9\u7528\u6237\u7ec4\u8bbe\u5b9a\u4e86\u7ec4\u7ba1\u7406\u5458\uff0c\u5e76\u7ed9\u8be5\u7528\u6237\u7ec4\u8bbe\u5b9a\u4e86\u7ec4\u5bc6\u7801\uff0c\u90a3\u4e48\u7ec4\u5bc6\u7801\u5c31\u4fdd\u5b58\u5728\u8fd9\u4e2a\u6587\u4ef6\u4e2d\uff0c\u7ec4\u7ba1\u7406\u5458\u5c31\u53ef\u4ee5\u5229\u7528\u8fd9\u4e2a\u5bc6\u7801\u7ba1\u7406\u8005\u4e2a\u7528\u6237\u7ec4\u4e86\u3002\u7b2c3\u4e2a\u5b57\u6bb5\u8868\u793a\u8fd9\u4e2a\u7ec4\u7684\u7ba1\u7406\u5458\u662f\u54ea\u4e2a\u7528\u6237\u3002<\/p>\n","protected":false},"author":1,"featured_media":269844,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"footnotes":""},"categories":[988],"tags":[999],"class_list":["post-269843","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-tougao","tag-999"],"acf":[],"_links":{"self":[{"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/posts\/269843","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/comments?post=269843"}],"version-history":[{"count":0,"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/posts\/269843\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/media\/269844"}],"wp:attachment":[{"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/media?parent=269843"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/categories?post=269843"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/tags?post=269843"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}