sudo 提权失败

今天在写作业时遇到问题,sudo  提权失败,不知道为什么  /etc/sudoers  文件的权限被我改了,下面是我的解决方案

       

        (1) su  -   root       //切换到超级管理员root

        (2)  输入root密码

        (3)  chmod  440  /etc/sudoers        将文件权限改为原来的默认权限440

猜你喜欢

转载自blog.csdn.net/weixin_46687989/article/details/107644584