We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
一:因为之前误操作使用sudo chmod -R 777 /usr命令修改了usr文件的所有者导致了此问题;
二:网上说需要进入recovery mode,经过自己的测试是不需要的;
三:步骤(只需登录到普通模式下即可)
1.su - root切换为root用户;
2.执行chown root:root /usr/bin/sudo
3.执行chmod 4755 /usr/bin/sudo
4.reboot后普通用户就又可以用sudo了;
【文章地址】https://www.cnblogs.com/silentdoer/p/8946946.html
The text was updated successfully, but these errors were encountered:
No branches or pull requests
一:因为之前误操作使用sudo chmod -R 777 /usr命令修改了usr文件的所有者导致了此问题;
二:网上说需要进入recovery mode,经过自己的测试是不需要的;
三:步骤(只需登录到普通模式下即可)
1.su - root切换为root用户;
2.执行chown root:root /usr/bin/sudo
3.执行chmod 4755 /usr/bin/sudo
4.reboot后普通用户就又可以用sudo了;
【文章地址】https://www.cnblogs.com/silentdoer/p/8946946.html
The text was updated successfully, but these errors were encountered: