Linux<\/a>2\u7684\u4e3b\u673a\u3002\u4ee5rlogin\u547d\u4ee4\u767b\u9646:\u4e0d\u4ec5\u4f7f\u7528\u201clogin\u201d\u547d\u4ee4\u5916\uff0c\u201crlogin\u201d\u4e5f\u53ef\u4ee5\u62ff\u6765\u767b\u9646\u8fdc\u7a0b\u4e3b\u673a\uff0c\u5b83\u7684\u7528\u6cd5\u5f88\u7b80\u5355\u3002\u4e0b\u8fb9\u662f\u4e00\u4e2a\u8054\u63a5\u5230\u7684\u8303\u4f8b:[root@ns1root]#rlogin->\u767b\u9646password:******->\u9ed8\u8ba4\u662f\u4ee5\u76f8\u540c\u540d\u767b\u5f55\uff0c\u6240\u4ee5\u6ca1\u6709\u51fa\u73b0\u201clogin\u201d\u4fe1\u606fLoginincorrect->\u5047\u5982\u62ff\u6765\u767b\u9646\u7684\u540d\u79f0\u4e0e\u5f53\u524d\u7684\u7528\u6237\u540d\u4e0d\u540c\uff0c\u53ef\u76f4\u63a5\u6309\u201cEnter\u201d\uff0c\u4e14\u5ffd\u89c6\u9519\u8bef\u4fe1\u606fLogin:jack->\u91cd\u65b0\u8f93\u5165\u4e0d\u540c\u7684\u7528\u6237\u540dPassword:******->\u5bc6\u7801\/etc\/nologin\u6587\u4ef6\u7684\u4f7f\u7528:\u5047\u5982\u5e0c\u671b\u53ea\u6709root\u53ef\u4ee5\u767b\u9646\u4e3b\u673a\uff0c\u5176\u4ed6\u5e10\u53f7\u90fd\u4e0d\u53ef\u4ee5\u767b\u9646\uff0c\u53ef\u4ee5\u5728\/etc\u76ee\u5f55\u4e0b\u6dfb\u52a0\u540d\u4e3a\u201cnologin\u201d\u7684\u6587\u4ef6\uff0c\u5728\u8be5\u6587\u4ef6\u4e2d\u53ea\u8981\u968f\u4fbf\u8f93\u5165\u51e0\u4e2a\u5b57\u7b26\u5373\u53ef\uff0c\u7531\u4e8e\u53ea\u8981\u7cfb\u7edf\u53d1\u89c9\u8be5\u6587\u4ef6\u7684\u5b58\u5728\u90fd\u4f1a\u4e25\u7981\u5176\u4ed6\u7528\u6237\u767b\u5165\u3002<\/p>\n\u7cfb\u7edf\u6ce8\u9500:\u4e0a\u9762\u4ecb\u7ecd\u4e86\u4ee5\u201clogin\u201d\u547d\u4ee4\u6765\u6539\u53d8\u8eab\u5206\uff0c\u751a\u81f3\u53ef\u4ee5\u767b\u9646\u5176\u4ed6\u7684\u4e3b\u673a\uff0c\u800c\u4e0elogin\u76f8\u5bf9\u7684\u547d\u4ee4\u201clogout\u201d\uff0c\u5b83\u53ef\u4ee5\u4f7f\u76ee\u524d\u767b\u9646\u7684\u7528\u6237\u6ce8\u9500\u7cfb\u7edf\uff0c\u4fbf\u4e8e\u5176\u4ed6\u7528\u6237\u767b\u5165\u3002\u8fd9\u4e2a\u547d\u4ee4\u7684\u7528\u6cd5\u5f88\u7b80\u5355\uff0c\u53ea\u8981\u8f93\u5165\u201clogout\u201d\u5373\u53ef\u767b\u5165\u7cfb\u7edf:[root@ns1root]#logout\u4e0a\u9762\u4ecb\u7ecd\u8fc7\uff0cLinux\u7cfb\u7edf\u662f\u4e00\u4e2a\u591a\u7528\u6237\u64cd\u4f5c\u7cfb\u7edf\uff0c\u7cfb\u7edf\u4e2d\u6bcf\u4e00\u4e2a\u7528\u6237\u7684\u4f7f\u7528\u6743\u9650\u90fd\u987b\u8981\u7531\u7cfb\u7edf\u7ba1\u7406\u5458\u6765\u8bbe\u5b9a\u3002\u8fd9\u4e00\u8282\u5c06\u4ecb\u7ecd\u4e00\u4e9b\u7cfb\u7edf\u7ba1\u7406\u5458\u5bf9\u7528\u6237\u548c\u7528\u6237\u7ec4\u8fdb\u884c\u7ba1\u7406\u7684\u547d\u4ee4\u30024.6.1\u521b\u5efa\u65b0\u7528\u6237useradd\u547d\u4ee4(\u4e5f\u53ef\u4ee5\u4f7f\u7528adduser)\u62ff\u6765\u521b\u5efa\u65b0\u7684\u7528\u6237\u8d26\u53f7\uff0c\u5176\u547d\u4ee4\u683c\u5f0f\u5982\u4e0b:\u88684\u201419useradd\u547d\u4ee4\u5e38\u7528\u73b0\u8c61\u610f\u4e49-d\u8bbe\u7f6e\u65b0\u7528\u6237\u7684\u767b\u5f55\u76ee\u5f55-e\u8bbe\u7f6e\u65b0\u7528\u6237\u7684\u505c\u6b62\u65e5\u671f\uff0c\u65e5\u671f\u683c\u5f0f\u4e3aMM\/DD\/YY-f\u8d26\u6237\u8fc7\u671f\u51e0\u65e5\u540e\u6c38\u4e45\u505c\u6743\u3002\u5f53\u503c\u4e3a0\u65f6\u8d26\u53f7\u5219\u7acb\u5373\u88ab\u505c\u6743\u3002\u800c\u5f53\u503c\u4e3a-1\u65f6\u5219\u5173\u6389\u6b64\u529f\u80fd\u3002\u9884\u8bbe\u503c\u4e3a-1-g\u4f7f\u65b0\u7528\u6237\u52a0\u5165\u7fa4\u7ec4-G\u4f7f\u65b0\u7528\u6237\u52a0\u5165\u4e00\u4e2a\u65b0\u7ec4\u3002\u6bcf\u4f4d\u7fa4\u7ec4\u4f7f\u7528\u5192\u53f7\u201c\uff0c\u201d\u9694\u5f00\uff0c\u4e0d\u53ef\u4ee5\u53c2\u6742\u7a7a\u767d\u5b57-s\u6307\u5b9a\u65b0\u7528\u6237\u7684\u767b\u5f55Shell-u\u8bbe\u5b9a\u65b0\u7528\u6237\u7684ID\u503c\u6210\u529f\u521b\u5efa\u4e00\u4e2a\u65b0\u7528\u6237\u4e4b\u540e\uff0c\u5728\/etc\/passwd\u6587\u4ef6\u4e2d\u90fd\u4f1a\u964d\u4f4e\u4e00\u884c\u8be5\u7528\u6237\u7684\u4fe1\u606f\uff0c\u5176\u683c\u5f0f\u5982\u4e0b:\u3014\u7528\u6237\u540d\u3015:\u3014\u5bc6\u7801\u3015:\u3014UID\u3015:\u3014GID\u3015:\u3014\u8eab\u4efd\u63cf\u8ff0\u3015:\u3014\u4e3b\u76ee\u5f55\u3015:\u3014\u767b\u9646Shell\u3015\u5176\u4e2d\u4e2a\u6570\u7ec4\u88ab\u9017\u53f7\u201c:\u201d\u5206\u62107\u5404\u90e8\u4efd\u3002<\/p>\n
<\/p>\n
\u56e0\u4e3a\u5927\u4e8e500\u7684UID\u548cGID\u901a\u5e38\u90fd\u662f\u7cfb\u7edf\u81ea\u5df1\u4fdd\u7559\uff0c\u4e0d\u7528\u505a\u666e\u901a\u7528\u6237\u548c\u7ec4\u7684\u6807\u5fd7\uff0c\u6240\u4ee5\u65b0\u964d\u4f4e\u7684\u7528\u6237\u548c\u7ec4\u901a\u5e38\u90fd\u662fUID\u548cGID\u5c0f\u4e8e500\u7684\u3002\u8bf8\u5982\u4f7f\u7528\u5982\u4e0b\u547d\u4ee4:\u3014root@localhostroot\u3015#useradduser1\u5c06\u4f1a\u521b\u5efa\u4e00\u4e2a\u540d\u4e3auserl\u7684\u7528\u6237\uff0c\u5173\u4e8e\u7528\u6237\u7ba1\u7406\u547d\u4ee4\u5df2\u7136\u4ecb\u7ecd\u8fc7\uff0c\u5728\u6b64\u4e5f\u4e0d\u505a\u66f4\u591a\u7684\u4ecb\u7ecd\u4e86\u3002\u6267\u884cuseradd\u547d\u4ee4\u7684\u7ed3\u679c\u5982\u56fe11-13\u6240\u793a\u30024.6.2\u8bbe\u7f6e\u548c\u66f4\u6539\u7528\u6237\u53e3\u4ee4passwdpasswd\u547d\u4ee4\u62ff\u6765\u8bbe\u7f6e\u548c\u66f4\u6539\u7528\u6237\u547d\u4ee4linux\u8bbe\u7f6e\u73af\u5883\u53d8\u91cf\uff0c\u53ea\u6709\u8d85\u7ea7\u7528\u6237\u548c\u7528\u6237\u81ea\u5df1\u53ef\u4ee5\u66f4\u6539\u5bc6\u7801\uff0c\u5176\u4ed6\u7684\u666e\u901a\u7528\u6237\u6ca1\u6709\u66f4\u6539\u5176\u4ed6\u7528\u6237\u5bc6\u7801\u7684\u6743\u529b\u3002\u5176\u547d\u4ee4\u5982\u4e0b:#passwd\u3014\u7528\u6237\u540d\u3015\u4e3a\u9632\u6b62\u8f93\u5165\u5bc6\u7801\u662f\u88ab\u4eba\u6ce8\u610f\u5230\u6709\u591a\u5c11\u4f4d\uff0cLinux\u5e76\u4e0d\u91c7\u7528\u7c7b\u4f3cWindows\u7684\u5bc6\u7801\u56de\u663e\u3014\u663e\u793a\u4e3a*\u53f7\u3015\uff0c\u6240\u4ee5\uff0c\u8f93\u5165\u7684\u90a3\u4e9b\u5b57\u7b26\u662f\u770b\u4e0d\u89c1\u7684\u3002\u8bf8\u5982\uff0c\u4e3a\u65b0\u5efa\u7684userl\u7528\u6237\u8bbe\u7f6e\u5bc6\u7801\u53ef\u4f7f\u7528\u5982\u4e0b\u547d\u4ee4:\u3014root@localhostroot\u3015#passwduser1\u6309\u7167\u7cfb\u7edf\u7684\u63d0\u793a\u4fe1\u606f\u8f93\u5165\u4e24\u6b21\u5bc6\u7801\uff0c\u7cfb\u7edf\u4f1a\u663e\u793a:passwd::allauthenticationtokensupdatedsuccessfully\u8868\u793a\u66f4\u6539\u5bc6\u7801\u6210\u529f\u4e86\u3002<\/p>\n
<\/p>\n
\u65b0\u5efa\u7528\u6237\u7684\u5de5\u4f5c\u53ea\u6709\u5728\u8be5\u7528\u6237\u8bbe\u7f6e\u4e86\u53e3\u4ee4\u540e\u624d\u7b97\u5b8c\u6210\uff0c\u5426\u5219\u96be\u4ee5\u4f7f\u7528\u8be5\u7528\u6237\u540d\u767b\u5f55\u30024.6.3\u66f4\u6539\u7528\u6237\u4fe1\u606fusermodusermod\u547d\u4ee4\u62ff\u6765\u66f4\u6539\u7528\u6237\u4fe1\u606f\uff0c\u5176\u547d\u4ee4\u683c\u5f0f\u5982\u4e0b:#usermod\u3014\u9009\u9879\u3015\u3014\u7528\u6237\u540d\u3015\u5e38\u7528\u547d\u4ee4\u9009\u987911-20\u6240\u793a\u3002\u88684-20usermod\u547d\u4ee4\u5e38\u7528\u9009\u9879\u5e38\u7528\u9009\u9879\u610f\u4e49-d\u66f4\u65b0\u4f7f\u7528\u8005\u65b0\u7684\u767b\u5f55\u76ee\u5f55-e\u8bbe\u7f6e\u65b0\u7528\u6237\u7684\u505c\u6b62\u65e5\u671f\uff0c\u65e5\u671f\u683c\u5f0f\u4e3aMM\/DD\/YY-f\u8d26\u6237\u8fc7\u671f\u51e0\u65e5\u540e\u6c38\u4e45\u505c\u6743\u3002\u5f53\u503c\u4e3a0\u65f6\u8d26\u53f7\u5219\u7acb\u5373\u88ab\u505c\u6743\u3002\u800c\u5f53\u503c\u4e3a-1\u65f6\u5219\u5173\u6389\u6b64\u529f\u80fd\u3002\u9884\u8bbe\u503c\u4e3a-1-g\u66f4\u65b0\u4f7f\u7528\u8005\u65b0\u7528\u6237\u52a0\u5165\u7fa4\u7ec4-G\u5b9a\u4e49\u4f7f\u7528\u8005\u4e3a\u4e00\u5806groups\u7684\u6210\u5458\u3002\u6bcf\u4f4d\u7fa4\u7ec4\u4f7f\u7528\u201c,,\u201d\u9694\u5f00\uff0c\u4e0d\u53ef\u4ee5\u53c2\u6742\u7a7a\u767d\u5b57-l\u53d8\u66f4\u7528\u6237\u767b\u5f55\u65f6\u7684\u540d\u79f0\uff0c\u540c\u65f6\u4f7f\u7528\u8005\u76ee\u5f55\u540d\u4e5f\u4f1a\u8ddf\u968f\u66f4\u52a8\u6210\u65b0\u7684\u540d\u79f0-s\u6307\u5b9a\u65b0\u7528\u6237Shell-u\u7528\u6237ID\u503c\uff0c\u5fc5\u987b\u4e3a\u60df\u4e00\u7684ID\u503c\u3002\u7528\u6237\u76ee\u5f55\u6811\u4e0b\u6240\u7528\u7684\u6587\u6863\u76ee\u5f55\u5176userID\u4f1a\u624b\u52a8\u53d8\u66f4linux\u7528\u6237\u7ba1\u7406\u547d\u4ee4<\/strong>\uff0c\u7f6e\u4e8e\u62e5\u62a4\u76ee\u5f55\u5916\u7684\u6587\u6863\u5219\u6bd4\u5982\uff0c\u4e0b\u8fb9\u7684\u547d\u4ee4\u66f4\u6539\u7528\u6237\u4fe1\u606f:\u3014root@localhostroot\u3015#usermod\u2013d\/home\/user2\u2013s\/bin\/bashuser2\u5c06\u7528\u6237\u540duser2\u7684\u4e3b\u76ee\u5f55\u8def\u5f84\u8bbe\u7f6e\u5728\/home\/user1,\u767b\u5f55\u7684Shell\u8bbe\u7f6e\u4e3a\/usr\/bin\/gcc\u3002<\/p>\n<\/p>\n
\u901a\u5e38\u60c5\u51b5\u4e0busermod\u547d\u4ee4\u4f1a\u53c2\u7167\u547d\u4ee4\u6307\u4ee4\u7684\u90e8\u4efd\u66f4\u6539\u7528\u6237\u8d26\u53f7\u4fe1\u606f\u3002\u4f46usermod\u4e0d\u5bb9\u8bb8\u6539\u53d8\u6b63\u5728\u7ebf\u4e0a\u7684\u4f7f\u7528\u8005\u8d26\u53f7\u540d\u79f0\uff0c\u4e3a\u6b64\uff0c\u5f53\u7528usermod\u6765\u6539\u53d8\u7528\u6237\u8d26\u53f7\u4fe1\u606f\u65f6\uff0c\u5fc5\u987b\u786e\u8ba4\u8fd9\u540d\u6ca1\u5728\u7b14\u8bb0\u672c\u4e0a\u6267\u884c\u4efb\u4f55\u7a0b\u5e8f\u30024.6.,\u65b0\u5efa\u7ec4\u7fa4groupaddgroupadd\u547d\u4ee4\u62ff\u6765\u5b8c\u5584\u65b0\u7684\u7528\u6237\u7ec4\uff0c\u5176\u547d\u4ee4\u683c\u5f0f\u5982\u4e0b:#groupadd\u3014\u9009\u9879\u3015\u3014\u7528\u6237\u540d\u79f0\u3015\u5e38\u7528\u9009\u9879\u6709:-g:GID\u503c\u3002\u9664\u975e\u4f7f\u7528-o\u53c2\u6570\u4e0d\u7136\u8be5\u503c\u5fc5\u987b\u662f\u60df\u4e00\uff0c\u4e0d\u53ef\u76f8\u540clinux\u7528\u6237\u7ba1\u7406\u547d\u4ee4<\/strong>\uff0c\u6570\u503c\u4e0d\u53ef\u4e3a\u8d1f\u3002GID\u503c\u9884\u8bbe\u4e3a\u6700\u5c0f\u4e0d\u5f97\u5927\u4e8e500\u800c\u9010\u6b21\u964d\u4f4e\u30020\u2014499\u4f20\u7edf\u4e0a\u662f\u4fdd\u7559\u7cfb\u7edf\u8d26\u53f7\u4f7f\u7528\u3002-f:\u65b0\u589e\u7684\u4e00\u4e2a\u65e9\u5df2\u5b58\u5728\u7684\u7fa4\u7ec4\u8d26\u53f7\uff0c\u7cfb\u7edf\u4f1a\u51fa\u73b0\u9519\u8bef\u8baf\u606f\u4e4b\u540e\u7ed3\u675fgroupadd.\u82e5\u679c\u662f\u8fd9\u6837\u7684\u60c5\u51b5\uff0c\u4e0d\u4f1a\u65b0\u589e\u8fd9\u4e2a\u7fa4\u7ec4(\u5047\u5982\u662f\u8fd9\u4e2a\u60c5\u51b5\uff0c\u7cfb\u7edf\u4e0d\u4f1a\u5728\u65b0\u589e\u4e00\u6b21)\u3002\u4e5f\u53ef\u540c\u65f6\u52a0\u4e0a-g\u9009\u9879\uff0c\u5f53\u4f60\u52a0\u4e0a\u4e00\u4e2aGID\u65f6\uff0c\u6b64\u65f6GID\u5c31\u4e0d\u7528\u662f\u60df\u4e00\u503c\uff0c\u53ef\u4e0d\u52a0-o\u53c2\u6570,\u5efa\u597d\u7684\u7fa4\u7ec4\u4f1a\u663e\u793a\u5b8c\u5584\u540e\u7684\u7ed3\u679c(addingagroupasneither\u2013gor\u2013ooptionswerespecified),\u8fd9\u662fRedHatLinux\u989d\u5916\u589e\u8bbe\u7684\u9009\u9879\u30024.6.5\u5220\u6389\u7528\u6237userdeluserdel\u547d\u4ee4\u62ff\u6765\u5220\u6389\u65e9\u5df2\u5b58\u5728\u7684\u7528\u6237\u53ca\u76f8\u5173\u7684\u6587\u6863\uff0c\u5176\u547d\u4ee4\u683c\u5f0f\u5982\u4e0b:#userdel\u3014\u9009\u9879\u3015\u7528\u6237\u540duserdel\u547d\u4ee4\u7684\u5e38\u7528\u9009\u9879:-r\u5c06\u7528\u6237\u76ee\u5f55\u4e0b\u7684\u6587\u6863\u4e00\u5e76\u5220\u6389\u3002<\/p>\n<\/p>\n
\u5728\u5176\u4ed6\u4f4d\u7f6e\u4e0a\u7684\u6587\u6863\u4e5f\u5c06\u4e00\u4e00\u627e\u51fa\u5e76\u5220\u6389\u3002Userdel\u4e0d\u5bb9\u8bb8\u79fb\u9664\u6b63\u5728\u7ebf\u4e0a\u7684\u7528\u6237\u8d26\u53f7\uff0c\u4e3a\u6b64\uff0c\u5047\u5982\u60f3\u5220\u6389\u8fd9\u7c7b\u7528\u6237\u8d26\u53f7\uff0c\u5fc5\u987b\u5148\u6740\u6389\u7528\u6237\u5728\u7cfb\u7edf\u4e0a\u8fd0\u884c\u7684\u7a0b\u5e8f\u80fd\u591f\u8fdb\u884c\u8d26\u53f7\u5220\u6389\u30024.6.6\u5220\u6389\u7fa4\u7ec4groupdelgroupdel\u547d\u4ee4\u62ff\u6765\u5220\u6389\u65e9\u5df2\u5b58\u5728\u7684\u7528\u6237\u7ec4\uff0c\u5176\u547d\u4ee4\u683c\u5f0f\u5982\u4e0b:#groupdel\u7ec4\u540d\u540cuserdel\u7c7b\u4f3c\uff0c\u82e5\u679c\u6709\u4efb\u4f55\u4e00\u4e2a\u7ec4\u5185\u7684\u7528\u6237\u5728\u4e0a\u7ebf\uff0c\u5c31\u4e0d\u80fd\u79fb\u9664\u8be5\u7528\u6237\u7ec4\uff0c\u4e3a\u6b64\uff0c\u5047\u5982\u7ec4\u5185\u6709\u7528\u6237\u5728\u7ebf\u7684\u8bdd\uff0c\u6700\u597d\u5148\u79fb\u51fa\u8be5\u7528\u6237\uff0c\u4e4b\u540e\u5728\u5220\u6389\u8be5\u7528\u6237\u30024.6.7\u7528\u6237\u95f4\u5207\u6362susu\u547d\u4ee4\u5e38\u7528\u4e8e\u4e0d\u540c\u7528\u6237\u95f4\u5207\u6362\u3002\u5176\u547d\u4ee4\u683c\u5f0f\u5982\u4e0b:#su\u3014\u7528\u6237\u540d\u3015su\u547d\u4ee4\u7684\u5e38\u89c1\u7528\u6cd5\u662f\u5f04\u6210\u8ddf\u7528\u6237\u6216\u8d85\u7ea7\u7528\u6237\uff0c\u5047\u5982\u53d1\u51fa\u4e0d\u5e26\u7528\u6237\u540d\u7684su\u547d\u4ee4\uff0c\u5219\u7cfb\u7edf\u63d0\u793a\u8f93\u5165\u6839\u53e3\u4ee4\uff0c\u8f93\u5165\u7136\u540e\u5219\u53ef\u6362\u4e3a\u6839\u7528\u6237\u3002\u5047\u5982\u767b\u5f55\u4e3a\u6839\u7528\u6237\uff0c\u5219\u53ef\u4ee5\u7528su\u547d\u4ee4\u6210\u4e3a\u7cfb\u7edf\u4e0a\u4efb\u4f55\u7528\u6237\u800c\u4e0d\u987b\u8981\u53e3\u4ee4\u3002\u8bf8\u5982\uff0c\u5047\u5982\u767b\u5f55\u4e3auser1\uff0c\u8981\u5207\u6362\u4e3auser2\uff0c\u53ea\u8981\u7528\u5982\u4e0b\u547d\u4ee4:#suuser2\u4e4b\u540e\u7cfb\u7edf\u63d0\u793a\u8f93\u5165user2\u53e3\u4ee4\uff0c\u8f93\u5165\u6b63\u786e\u7684\u53e3\u4ee4\u4ee5\u540e\u5c31\u53ef\u4ee5\u5207\u6362\u5230user2\u3002\u5b8c\u6210\u4ee5\u540e\u5c31\u53ef\u4ee5\u7528exit\u547d\u4ee4\u8fd4\u56de\u5230user1\u30024.6.8\u67e5\u770b\u5f53\u524d\u5728\u7ebf\u7528\u6237whowho\u547d\u4ee4\u4e3b\u8981\u7528\u4e8e\u67e5\u770b\u5f53\u524d\u5728\u7ebf\u4e0a\u7684\u7528\u6237\u60c5\u51b5\u3002<\/p>\n
\u8fd9\u4e2a\u547d\u4ee4\u7279\u522b\u6709\u7528\u3002\u5047\u5982\u7528\u6237\u60f3\u548c\u5176\u4ed6\u7528\u6237\u53c8\u5982\uff0c\u7cfb\u7edf\u7ba1\u7406\u5458\u5e0c\u671b\u76d1\u89c6\u6bcf\u4f4d\u767b\u5165\u7684\u7528\u6237\u6b64\u65f6\u6b64\u523b\u7684\u6240\u4f5c\u6240\u4e3a\uff0c\u4e5f\u8981\u4f7f\u7528who\u547d\u4ee4\u3002Who\u547d\u4ee4\u7684\u5e38\u7528\u547d\u4ee4\u683c\u5f0f\u548c\u5e38\u7528\u9009\u9879\u5982\u4e0b:#who\u3014\u9009\u9879\u3015\u547d\u4ee4who\u5e38\u7528\u547d\u4ee4\u9009\u9879\u5982\u88684-21\u6240\u793a\u3002\u88684-21\u547d\u4ee4who\u5e38\u7528\u547d\u4ee4\u9009\u9879\u5e38\u7528\u9009\u9879\u610f\u4e49-a\u663e\u793a\u6240\u6709\u7528\u6237\u7684\u6240\u6709\u4fe1\u606f-m\u663e\u793a\u8fd0\u884c\u8be5\u7a0b\u5e8f\u7684\u7528\u6237\u540d\uff0c\u548c\u201cwhoamI\u201d\u7684\u4f5c\u7528\u4e00\u6837-q\u53ea\u663e\u793a\u7528\u6237\u7684\u767b\u5f55\u8d26\u53f7\u548c\u767b\u5f55\u7528\u6237\u7684\u6570\u76ee\uff0c\u8be5\u9009\u9879\u4f18\u5148\u7ea7\u4f4e\u4e8e\u5176\u4ed6\u4efb\u4f55\u9009\u9879-u\u5728\u767b\u5165\u7528\u6237\u65c1\u8fb9\u663e\u793a\u8be5\u7528\u6237\u6700\u540e\u4e00\u6b21\u5bf9\u7cfb\u7edf\u8fdb\u884c\u64cd\u4f5c\u8ddd\u4eca\u7684\u65f6\u95f4-H\u663e\u793a\u5217\u6807\u9898\u6240\u6709\u7684\u9009\u9879\u662f\u53ef\u9009\u7684\uff0c\u6bd4\u5982linux\u7a7a\u95f4\uff0c\u4f7f\u7528\u547d\u4ee4:\u3014root@localhoseroot\u3015#who-aH<\/p>\n","protected":false},"excerpt":{"rendered":"
\u4e00\u822c\u60c5\u51b5\u4e0busermod\u547d\u4ee4\u4f1a\u53c2\u7167\u547d\u4ee4\u6307\u4ee4\u7684\u90e8\u5206\u4fee\u6539\u7528\u6237\u5e10\u53f7\u4fe1\u606f\u3002Userdel\u4e0d\u5141\u8bb8\u79fb\u9664\u6b63\u5728\u7ebf\u4e0a\u7684\u7528\u6237\u5e10\u53f7\uff0c\u56e0\u6b64\uff0c\u5982\u679c\u60f3\u5220\u9664\u8fd9\u7c7b\u7528\u6237\u5e10\u53f7\uff0c\u5fc5\u987b\u5148\u6740\u6389\u7528\u6237\u5728\u7cfb\u7edf\u4e0a\u8fd0\u884c\u7684\u7a0b\u5e8f\u624d\u80fd\u8fdb\u884c\u5e10\u53f7\u5220\u9664\u3002<\/p>\n","protected":false},"author":1,"featured_media":289783,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"footnotes":""},"categories":[988],"tags":[999],"class_list":["post-289782","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\/289782","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=289782"}],"version-history":[{"count":0,"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/posts\/289782\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/media\/289783"}],"wp:attachment":[{"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/media?parent=289782"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/categories?post=289782"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/tags?post=289782"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}