Error initializing audit plugin sudoers_audit

Is this something to worry about?

(24/28) Looking for Pacnew/Pacsave created.
sudo: unknown user reboot
sudo: error initializing audit plugin sudoers_audit
error: command failed to execute correctly
1 Like

@pato

Yes, probably, but it’s impossible to know without context.


Quick tip:- :eyes:

Always show the complete command output, including the command(s) that were used, and place the output in a pre-formatted scrollable text box (use the </> button, not a quote box).


Please provide your system information as described (below) to help others to help you.

I’m sure someone will assist when they are able.

Regards.


Your post has been moved to dedicated topic.


What follows is from a standard template.

Welcome to the Manjaro community

As a new or infrequent forum user, please take some time to familiarise yourself with forum requirements, and the many ways to use the forum to your benefit.

Note: By virtue of using the Manjaro forum you acknowledge and agree to follow Rules and Guidelines outlined; so, you really should read them:

Required Reading
Highly Recommended

Work with us, not against us

It is important to provide as much actionable information as possible in your first post, rather than simply indicating there is a problem. Please also be prepared to provide output from commands if/when asked.

Simply waiting for others to ask you questions is counter-productive – typically, nobody has a :crystal_ball: at their disposal – and your clear, concise and accurate input is often relied upon in order to help you.

Please help others to make informed suggestions based on information you provide.


System Information

While information from *-fetch type apps might be fine for someone wishing to buy your computer, for Support purposes it’s better to ask your system directly; :eyes:

Output of the inxi command (with appropriate parameters, and formatted according to forum guidelines) will generate information useful for those wishing to help:

Suggested inxi command (use either):

inxi -zv8 (short-form)
inxi --filter --verbosity=8 (long-form)
inxi man pages (manual)
Running `inxi` within a `chroot` environment
  • Add --color=0 to the long-form command, or…
  • Change the short-form command to inxi -zv8c0
Your privacy is respected

Update Announcements


Technical Resources


Which command failed to execute correctly?
(maybe it was just a typo on the command line?)
What was the command which lead to this error?

2 Likes

I find these errors strange in any case, but it will be hard to debug without some information for the history of the machine. For example, audit framework is installed by default but i do not think it is really activated. So how was it activated to check the sudoers? Why does it fail? What does the audit logs say? Etc.
The other one for the reboot seems even more strange. I do not even understand if a real reboot is meant, or a user called “reboot”. Is there such user in the list of users? (cat /etc/passwd |grep reboot) What process created it and why?

1 Like

It seems to have happened at the end of an update (during a hook). Is that correct?

Please check /etc/sudoers and each file in /etc/sudoers.d for errors.

I may be wrong, but I suspect there’s a reference to a user called ‘reboot’ in one of them, however it’s probably just a typo (presumably that user doesn’t exist).

Please read the link below before editing any files. If in doubt - ask.

I think the error is from audit network and not actually in the sudoers. The module/rules to check sudoers cannot start. Not installed, not configured - i do not know, i do not use audit since i only have a personal computer with 1 user and not a server.

Maybe you’re right, it seems to be possible.

But a quick search for “error initializing audit plugin sudoers_audit” brings up results about errors in sudoers, and passwd.

One about a deleted user with matching errors but for root.

Also:

$ sudo -u reboot echo hello
sudo: unknown user reboot
sudo: error initializing audit plugin sudoers_audit

So looks to me like either:

  1. Error in sudoers
  2. Missing user

However I think I’ll change my vote to a hook which runs a command as a non-existent user. Just seems like an odd username.

EDIT:

Last one, fixed the link and reworded.

1 Like