Self-Solve Knowledge Search

Minimize Maximize
How to define sudo commands in sudo list
Title :
How to define sudo commands in sudo list
Document ID :
KM01445113
Product - Version:
universal cmdb ;
OS :
Updated :
Thu Mar 19 07:31:53 GMT 2015
Summary :
This will give the correct way to define the sudo commands
Problem
syntax error at -e line 3, near "="
Execution of -e aborted due to compilation errors.
Cause

When runing Weblogic by Shell job, or any other job that uses the shell for discovery, most of the times you will need to add the sudo commands for the UNIX machines. The commands have to be define both on the Unix and UCMDB side in order for discover to work properly.

Sometime, all the commands are added by just using the "*"(star) but this will fail a lot of the times.

Fix

In order to correctly input this, you will need to enter the path and the list of commands like this (example):

*perl, *ps, *dmidecode, etc