Availability for the Always-On Enterprise
Post Reply
Posts: 4
Liked: never
Joined: Mar 14, 2017 5:40 pm

Sudoers has invalid syntax

Post by Scream » Oct 24, 2017 8:45 pm


I added a server recently to my backup job, which uses local user auth and also does LDAP authentication to our domain controller.
When I do credentials test for the guest file system indexing I get the following error message: "Error: ERROR: /etc/sudoers has invalid syntax", in the backup job setting I have the "Elevate specified account to root" and "Add account to the sudoers file automatically" options turned on. When I do visudo -c on that linux box, it doesn't highlight any issue with the syntax.

Is there anyone out there, who had the same message before? What was your solution?

Thank you!

Veeam Software
Posts: 4311
Liked: 355 times
Joined: May 19, 2015 1:46 pm

Re: Sudoers has invalid syntax

Post by PTide » Oct 26, 2017 1:04 pm


With "Add account to the sudoers file automatically" option VBR attempts to modify sudoers file automatically. It seems that for some reason something had gone wrong during the modification so the changes were not committed, that's why visudo check does not highlight any issues. You can try to add the user into sudoers file manually and try again. Anyway you should contact our support team for a deeper investigation as the observed behaviour is unexpected. Once you contact them please post your case ID. Btw, what is your distro?

Thank you

Post Reply

Who is online

Users browsing this forum: No registered users and 25 guests