Created
November 21, 2019 06:25
-
-
Save weber/a135a0ce45f6267dbac9d51d35c0adfa to your computer and use it in GitHub Desktop.
Revisions
-
weber created this gist
Nov 21, 2019 .There are no files selected for viewing
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 charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,13 @@ # Ошибка/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