linux如何给用户分配权限, 在linux下给用户分配权限大致有两个步骤,介绍如下:
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的账号登录,然后使用命令su-获得root权限进行其他操作。
linux如何给用户分配权限,以上就是本文为您收集整理的linux如何给用户分配权限最新内容,希望能帮到您!更多相关内容欢迎关注。