Policy module archlinux
-
sudo: не удаётся инициализировать модуль политики archlinux
What has complied with all directions ArchWiki - However, the policy has not changed.
Question: Is it possible that the cause of the whole thing is the non-intention of the host?
Because it's a coincidence. onet.pl ?
If not, what's the reason?Everything looks like this:
[ivanov@localhost-onet ~]$ sudo pacman -Syy
>>> /etc/sudoers: ошибка синтаксиса near line 78 <<<
sudo: parse error in /etc/sudoers near line 78
sudo: no valid sudoers sources found, quitting
sudo: не удаётся инициализировать модуль политики
[ivanov@localhost-onet ~]$ sudo pacman -Syu
>>> /etc/sudoers: ошибка синтаксиса near line 78 <<<
sudo: parse error in /etc/sudoers near line 78
sudo: no valid sudoers sources found, quitting
sudo: не удаётся инициализировать модуль политики
[ivanov@localhost-onet ~]$ sudo pacman -S leafpad
>>> /etc/sudoers: ошибка синтаксиса near line 78 <<<
sudo: parse error in /etc/sudoers near line 78
sudo: no valid sudoers sources found, quitting
sudo: не удаётся инициализировать модуль политики
[ivanov@localhost-onet ~]$ yaourt -S operaПароль:
su: Сбой при проверке подлинности
Пароль:
su: Сбой при проверке подлинности
Пароль:
-
in file
/etc/sudoers
Syntax error in line 78.the execution of teams/programmes on behalf of another user through the programme
sudo
It's not gonna work, until this mistake is corrected.to avoid a recurrence of this situation in the future, better not edit the file.
/etc/sudoers
direct use of the programmevisudo
which, prior to the recording of this file, will verify his syntaxis, and if the syntaxis is violated, will suggest that the error be rectified or that be reversed.If you know the user password rootYou can scare the team:
$ su -c visudo
and fix the wrong line.
if the user password root You don't know, you can use the answer to this question: https://ru.stackoverflow.com/q/432479/178576