How to modify configuration settings using selang commands.

book

Article ID: 33578

calendar_today

Updated On:

Products

CA Privileged Access Manager - Server Control (PAMSC) CA Privileged Identity Management Endpoint (PIM)

Issue/Introduction

Summary: 

We do not want to use the seini tool to modify configuration files because the information output to the seaudit file is rather limited and we know that selang can achieve the same results but with more valuable output in the audit file.  An example of selang commands used to modify configuration settings are detailed below.

 

Instructions:  

To make config changes (for example; in seos.ini) via the selang shell submit; 

 

selang 

 env config 

 er config seos.ini section(seos) token(parent_pmd) value([email protected])



or from a shell prompt

 

selang -c "env config; er config seos.ini section(seos) token(parent_pmd) value([email protected])"

 

To see the resulting output in the seaudit (in this example on a Unix box) please run

 

seaudit -a | grep -i UPDATE | grep -i CONFIG | grep -i seos.ini

 

 

Additional Information: 

For more detailed information about selang please see the selang Reference Guide

 

Environment

Release: ACP1M005900-12.9-Privileged Identity Manager
Component:

Resolution

.