entos7普通用戶設置root權限

su首先切換到 root 編輯修改gedit /etc/sudoers配置 在「root  ALL=(ALL)   ALL」這一行下面,再加入一行: deux  ALL=(ALL)     ALL 其中,deux爲你當前使用的用戶名,也就是普通用戶的用戶名 輸入exit,退出root用戶 你就會發現root創建的普通用戶也可以,權限一樣。
相關文章
相關標籤/搜索