Skip to content

Instantly share code, notes, and snippets.

@weber
Created November 21, 2019 06:25
Show Gist options
  • Select an option

  • Save weber/a135a0ce45f6267dbac9d51d35c0adfa to your computer and use it in GitHub Desktop.

Select an option

Save weber/a135a0ce45f6267dbac9d51d35c0adfa to your computer and use it in GitHub Desktop.

Revisions

  1. weber created this gist Nov 21, 2019.
    13 changes: 13 additions & 0 deletions gistfile1.txt
    Original 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