{"id":43096,"date":"2023-10-02T01:13:55","date_gmt":"2023-10-01T17:13:55","guid":{"rendered":"https:\/\/www.techphant.cn\/?p=43096"},"modified":"2023-10-02T01:13:55","modified_gmt":"2023-10-01T17:13:55","slug":"lckqx","status":"publish","type":"post","link":"https:\/\/www.techphant.cn\/blog\/43096.html","title":{"rendered":"Linux\u4e32\u53e3\u6743\u9650"},"content":{"rendered":"

  Linux\u4e32\u53e3\u6743\u9650\u662f\u4e00\u79cd\u7279\u6b8a\u7684\u6743\u9650\u7c7b\u578b\uff0c\u5b83\u53ef\u4ee5\u8ba9\u7528\u6237\u62e5\u6709\u4f7f\u7528\u4e32\u53e3\u8bbe\u5907\u7684\u6743\u9650\uff0c\u4ece\u800c\u53ef\u4ee5\u5b8c\u6210\u4e00\u4e9b\u7279\u6b8a\u7684\u4efb\u52a1\uff0c\u6bd4\u5982\u8fdc\u7a0b\u8c03\u8bd5\u3001\u81ea\u52a8\u5316\u63a7\u5236\u7b49\u3002\u5728Linux\u64cd\u4f5c\u7cfb\u7edf\u4e2d\uff0c\u4e32\u53e3\u6743\u9650\u7684\u914d\u7f6e\u6bd4\u8f83\u590d\u6742\uff0c\u56e0\u6b64\u672c\u6587\u5c06\u8be6\u7ec6\u4ecb\u7ecdLinux\u4e32\u53e3\u6743\u9650\u7684\u914d\u7f6e\u65b9\u6cd5\uff0c\u4ee5\u53ca\u5982\u4f55\u4f7f\u7528\u5b83\u6765\u5b8c\u6210\u4e00\u4e9b\u7279\u6b8a\u7684\u4efb\u52a1\u3002<\/p>\n

Linux\u4e32\u53e3\u6743\u9650\u7684\u57fa\u672c\u6982\u5ff5<\/h2>\n

  Linux\u4e32\u53e3\u6743\u9650\u662f\u6307\u7528\u6237\u53ef\u4ee5\u4f7f\u7528Linux\u64cd\u4f5c\u7cfb\u7edf\u4e2d\u7684\u4e32\u53e3\u8bbe\u5907\uff0c\u4ece\u800c\u5b8c\u6210\u4e00\u4e9b\u7279\u6b8a\u7684\u4efb\u52a1\u3002\u4e32\u53e3\u6743\u9650\u7684\u914d\u7f6e\u6bd4\u8f83\u590d\u6742\uff0c\u56e0\u6b64\u672c\u6587\u5c06\u8be6\u7ec6\u4ecb\u7ecdLinux\u4e32\u53e3\u6743\u9650\u7684\u914d\u7f6e\u65b9\u6cd5\u3002<\/p>\n

  Linux\u4e32\u53e3\u6743\u9650\u7684\u914d\u7f6e\u65b9\u6cd5<\/h3>\n

  Linux\u4e32\u53e3\u6743\u9650\u7684\u914d\u7f6e\u65b9\u6cd5\u4e3b\u8981\u5206\u4e3a\u4ee5\u4e0b\u51e0\u6b65\uff1a<\/p>\n

  1.\u67e5\u627e\u4e32\u53e3\u8bbe\u5907<\/strong><\/p>\n

  \u9996\u5148\uff0c\u9700\u8981\u4f7f\u7528Linux\u64cd\u4f5c\u7cfb\u7edf\u81ea\u5e26\u7684\u547d\u4ee4\u884c\u5de5\u5177\u6765\u67e5\u627e\u53ef\u7528\u7684\u4e32\u53e3\u8bbe\u5907\u3002\u4f7f\u7528\u547d\u4ee4\u201cls \/dev\/tty*\u201d\u53ef\u4ee5\u67e5\u770b\u5f53\u524d\u7cfb\u7edf\u4e2d\u53ef\u7528\u7684\u4e32\u53e3\u8bbe\u5907\u3002<\/p>\n

  2.\u67e5\u770b\u4e32\u53e3\u8bbe\u5907\u7684\u6743\u9650<\/strong><\/p>\n

  \u67e5\u770b\u4e32\u53e3\u8bbe\u5907\u7684\u6743\u9650\u53ef\u4ee5\u4f7f\u7528\u547d\u4ee4\u201cls -l \/dev\/tty*\u201d\u3002\u8be5\u547d\u4ee4\u53ef\u4ee5\u67e5\u770b\u5f53\u524d\u7cfb\u7edf\u4e2d\u53ef\u7528\u7684\u4e32\u53e3\u8bbe\u5907\u7684\u6743\u9650\u4fe1\u606f\uff0c\u6bd4\u5982\u4e32\u53e3\u8bbe\u5907\u7684\u6240\u6709\u8005\u3001\u7ec4\u6210\u5458\u7b49\u3002<\/p>\n

  3.\u8bbe\u7f6e\u4e32\u53e3\u8bbe\u5907\u7684\u6743\u9650<\/strong><\/p>\n

  \u8bbe\u7f6e\u4e32\u53e3\u8bbe\u5907\u7684\u6743\u9650\u53ef\u4ee5\u4f7f\u7528\u547d\u4ee4\u201cchmod 666 \/dev\/tty*\u201d\u3002\u8be5\u547d\u4ee4\u53ef\u4ee5\u5c06\u6307\u5b9a\u7684\u4e32\u53e3\u8bbe\u5907\u7684\u6743\u9650\u8bbe\u7f6e\u4e3a\u53ef\u8bfb\u53ef\u5199\uff0c\u4ee5\u4fbf\u7528\u6237\u53ef\u4ee5\u6b63\u5e38\u4f7f\u7528\u8be5\u8bbe\u5907\u3002<\/p>\n

  4.\u6dfb\u52a0\u7528\u6237\u5230\u4e32\u53e3\u8bbe\u5907\u7684\u7ec4<\/strong><\/p>\n

  \u6700\u540e\uff0c\u9700\u8981\u5c06\u7528\u6237\u6dfb\u52a0\u5230\u4e32\u53e3\u8bbe\u5907\u7684\u7ec4\u4e2d\uff0c\u4ee5\u4fbf\u7528\u6237\u53ef\u4ee5\u6b63\u5e38\u4f7f\u7528\u8be5\u8bbe\u5907\u3002\u53ef\u4ee5\u4f7f\u7528\u547d\u4ee4\u201cusermod -a -G tty \u201d\u6765\u5b8c\u6210\u8fd9\u4e00\u6b65\u3002<\/p>\n

Linux\u4e32\u53e3\u6743\u9650\u7684\u5e94\u7528<\/h2>\n

  Linux\u4e32\u53e3\u6743\u9650\u53ef\u4ee5\u7528\u6765\u5b8c\u6210\u4e00\u4e9b\u7279\u6b8a\u7684\u4efb\u52a1\uff0c\u6bd4\u5982\u8fdc\u7a0b\u8c03\u8bd5\u3001\u81ea\u52a8\u5316\u63a7\u5236\u7b49\u3002<\/p>\n

  1.\u8fdc\u7a0b\u8c03\u8bd5<\/h3>\n

  Linux\u4e32\u53e3\u6743\u9650\u53ef\u4ee5\u7528\u6765\u5b8c\u6210\u8fdc\u7a0b\u8c03\u8bd5\u4efb\u52a1\uff0c\u6bd4\u5982\u8fdc\u7a0b\u8c03\u8bd5Linux\u7cfb\u7edf\u4e2d\u7684\u67d0\u4e2a\u7a0b\u5e8f\u3001\u67e5\u770b\u7cfb\u7edf\u65e5\u5fd7\u7b49\u3002<\/p>\n

  2.\u81ea\u52a8\u5316\u63a7\u5236<\/h3>\n

  Linux\u4e32\u53e3\u6743\u9650\u8fd8\u53ef\u4ee5\u7528\u6765\u5b8c\u6210\u81ea\u52a8\u5316\u63a7\u5236\u4efb\u52a1\uff0c\u6bd4\u5982\u63a7\u5236\u4e32\u53e3\u8bbe\u5907\u7684\u6253\u5f00\u548c\u5173\u95ed\u3001\u63a7\u5236\u7cfb\u7edf\u4e2d\u7684\u786c\u4ef6\u8bbe\u5907\u7b49\u3002<\/p>\n

\u603b\u7ed3<\/h2>\n

  \u672c\u6587\u8be6\u7ec6\u4ecb\u7ecd\u4e86Linux\u4e32\u53e3\u6743\u9650\u7684\u914d\u7f6e\u65b9\u6cd5\uff0c\u4ee5\u53ca\u5982\u4f55\u4f7f\u7528\u5b83\u6765\u5b8c\u6210\u4e00\u4e9b\u7279\u6b8a\u7684\u4efb\u52a1\u3002<\/strong>Linux\u4e32\u53e3\u6743\u9650\u53ef\u4ee5\u7528\u6765\u5b8c\u6210\u8fdc\u7a0b\u8c03\u8bd5\u4efb\u52a1\uff0c\u4e5f\u53ef\u4ee5\u7528\u6765\u5b8c\u6210\u81ea\u52a8\u5316\u63a7\u5236\u4efb\u52a1\uff0c\u4ece\u800c\u63d0\u9ad8\u7cfb\u7edf\u7684\u6548\u7387\u548c\u53ef\u9760\u6027\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"

Linux\u4e32\u53e3\u6743\u9650\u662f\u4e00\u79cd\u7279\u6b8a\u7684\u6743\u9650\u7c7b\u578b\uff0c\u5b83\u53ef\u4ee5\u8ba9\u7528\u6237\u62e5\u6709\u4f7f\u7528\u4e32\u53e3\u8bbe\u5907\u7684\u6743\u9650\uff0c\u4ece\u800c\u53ef\u4ee5\u5b8c\u6210\u4e00\u4e9b\u7279\u6b8a\u7684\u4efb\u52a1\uff0c\u6bd4\u5982\u8fdc\u7a0b\u8c03\u8bd5\u3001\u81ea\u52a8\u5316\u63a7\u5236\u7b49\u3002\u5728Linux\u64cd\u4f5c\u7cfb\u7edf\u4e2d\uff0c\u4e32\u53e3\u6743\u9650\u7684\u914d\u7f6e<\/p>\n","protected":false},"author":1,"featured_media":4132,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"site-sidebar-layout":"default","site-content-layout":"default","ast-global-header-display":"","ast-main-header-display":"","ast-hfb-above-header-display":"","ast-hfb-below-header-display":"","ast-hfb-mobile-header-display":"","site-post-title":"","ast-breadcrumbs-content":"","ast-featured-img":"","footer-sml-layout":"","theme-transparent-header-meta":"","adv-header-id-meta":"","stick-header-meta":"","header-above-stick-meta":"","header-main-stick-meta":"","header-below-stick-meta":"","footnotes":""},"categories":[36],"tags":[69],"class_list":["post-43096","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-blog","tag-cktx"],"_links":{"self":[{"href":"https:\/\/www.techphant.cn\/wp-json\/wp\/v2\/posts\/43096","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.techphant.cn\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.techphant.cn\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.techphant.cn\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.techphant.cn\/wp-json\/wp\/v2\/comments?post=43096"}],"version-history":[{"count":0,"href":"https:\/\/www.techphant.cn\/wp-json\/wp\/v2\/posts\/43096\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.techphant.cn\/wp-json\/wp\/v2\/media\/4132"}],"wp:attachment":[{"href":"https:\/\/www.techphant.cn\/wp-json\/wp\/v2\/media?parent=43096"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.techphant.cn\/wp-json\/wp\/v2\/categories?post=43096"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.techphant.cn\/wp-json\/wp\/v2\/tags?post=43096"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}