linux如何給用戶分配權(quán)限, 在linux下給用戶分配權(quán)限大致有兩個(gè)步驟,介紹如下:
The command is as follows: #adduser tommy //Add a user named British soldier #passwd tommy //Change the password is changing the password of user tommy. New UNIX password://Enter the new password here and retype the new UNIX password://Enter the new password again passwd: All authentication tokens have been updated successfully. 2. Give root permission to modify /etc/sudoers file,
修改后可以用tommy的賬號(hào)登錄,然后使用命令su-獲得root權(quán)限進(jìn)行其他操作。
linux如何給用戶分配權(quán)限,以上就是本文為您收集整理的linux如何給用戶分配權(quán)限最新內(nèi)容,希望能幫到您!更多相關(guān)內(nèi)容歡迎關(guān)注。