Created
November 21, 2019 06:25
-
-
Save weber/a135a0ce45f6267dbac9d51d35c0adfa to your computer and use it in GitHub Desktop.
Ошибка sudo в wsl.exe
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # Ошибка/Error | |
| $ sudo apt-get update | |
| sudo: error in /etc/sudo.conf, line 0 while loading plugin "sudoers_policy" | |
| sudo: /usr/lib/sudo/sudoers.so must be only be writable by owner | |
| sudo: fatal error, unable to load plugins | |
| # Решение/solved | |
| # Запускаем cmd и вводим | |
| $ wsl.exe -u root -e whoami | |
| $ wsl.exe -u root -e chmod 644 /usr/lib/sudo/sudoers.so | |
| $ wsl.exe -u root |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment