Start a Conversation

Unsolved

This post is more than 5 years old

870

October 11th, 2011 02:00

After discovering a UNIX host in ProSphere with sudo access credentials the error message "user NOT in sudoers" appears on host

Hi,

This message is caused by improper account configuration on UNIX hosts

On all UNIX hosts with sudo accounts, the sudo messages repeatedly appear.


This issue is observed only when the discovery command fails, and a line is added to the console. Because the application is designed to retry the same command at an interval of x seconds for two hours, the message repeatedly appears. It is the absence of the sudoers file that causes the problem.

Improperly configured sudo accounts could result from the following scenarios:

  • The credentials given to ProSphere do not include the /etc/sudoers file.

The following message is displayed on the UNIX console:

user NOT in sudoers ; TTY=pts/4 ; PWD=/ ; USER=root ;
COMMAND=/tmp/nl_dwd/inq -mapinfo

  • /etc/sudoers file was never setup. Sudo accounts are not used.

The following message is displayed on the UNIX console:


can't stat /etc/sudoers: No such file or directory; s/2 ; PWD=/ ;
USER=root ; COMMAND=/tmp/nl_dwd/inq

Regards

Conor

27 Posts

February 13th, 2012 10:00

Instructions for properly configuring the Sudoers file can be found at the end of the ProSphere Administrators guide.  Page 111 in the 1.0.0.3 version of the guide.

Ryan H.

No Events found!

Top