Error: "Failed while setting sudo mode on target. The Error returned is: sudo: /etc/sudoers is mode 0777, should be 0440." while running queries using bv-Control for UNIX in agentless mode.

book

Article ID: 156548

calendar_today

Updated On:

Products

Symantec Products

Issue/Introduction

Error : "Failed while setting sudo mode on target. The Error returned is: sudo: /etc/sudoers is mode 0777, should be 0440." while running queries using bv-Control for UNIX in agentless mode.

Resolution

This message is displayed if the sudoers file’s permission on the UNIX server is set to 777( i.e. read, write and executed granted to everyone in the system.)

In order for RMS to query the unix machines in the agentless configuration mode , the sudoers file’s permission should be set to 440 ( i.e. read permission granted to the user and its respective group.)  Consult the UNIX admin to set the file permission for /etc/sudoers file to 440 . Once done , re-run the query on the server again from RMS.