User guide

27
When the wmi_config_credentials program is run on its own without options, it will read the default file
/opt/wmi_monitor/wmi_monitor LCP policy file and the encrypted credentials in the
/opt/wmi_monitor/data/ directory and will save the modifications to the same directory. When run, output similar to
the following will be displayed:
[root@wmimonitor wmi_monitor]# ./wmi_config_credentials
WARNING: Plaintext usernames/passwords are deprecated (I found one for 192.168.1.63).
Please run wmi_config_credentials to encrypt your credentials, then remove plaintext
usernames/passwords from the wmi_monitor.conf file.
The "address", "domain", and "monitor" lines must remain in the wmi_monitor.conf file.
(0): Domain:
Address: 192.168.1.63
Username: *************
Password: ********
Files: All
Found 1 host(s) in your configuration.
******************************************
***** Please select an option below *****
******************************************
*[1] Display current hosts *
*[2] Add a new host *
*[3] Modify an existing host *
*[4] Delete an existing host *
*[5] Save hosts and credentials *
*[Q] Save and quit *
*[X] Quit without saving *
* *
* >> (3): Domain: bogusdom
Address: 192.168.1.63
Username: ***
Password: ***
Files: Security
Found 4 host(s) in your configuration.
******************************************
***** Please select an option below *****
******************************************
*[1] Display current hosts *
*[2] Add a new host *
*[3] Modify an existing host *
*[4] Delete an existing host *
*[5] Save hosts and credentials *
*[Q] Save and quit *
*[X] Quit without saving *
* *
* >>
At the beginning, in the Warning: section, we see that a username and password exists in the configuration file that is
being read. This informs us that once encrypted, we may delete the username and password lines from the configuration
file for that host.