Self-Solve Knowledge Search

Minimize Maximize
Using KSH on by Shell Jobs
This document has not been formally reviewed for accuracy and is provided as is
Title :
Using KSH on by Shell Jobs
Document ID :
KM01066394
Product - Version:
universal cmdb 10.10 ;
OS :
Updated :
Fri Jul 25 18:35:15 GMT 2014
Summary :
Korn Shell
Is possible to use KSH on by shell Jobs?
Solution
 

Starting from CP13 (running on UCMDB 10.10) we have an option to perform discovery command in shell different from the default for discovery user on xNIX machines with “* by Shell Jobs”.

The feature called “Privilege Mode” and  mentioned in Supported Content document for CP13 on page 48.

The attached screen shot is showing how to run discovery command in /usr/bin/ksh when default is /bin/bash. In this case before each discovery command discovery job will run "ksh" command -> execute discovery command itself -> execute "exit" command to return to default shell.

image text

linktext