To modify the configuration files:
- Log on to the Linux machine as "root" with a SSH client such as PuTTy.
Back up the configuration file you would like to edit in /var/tmp with the command "cp".
# cp /etc/iscan/intscan.ini /var/tmp
Edit the file with vim:
Open the file in vim with the command "vim".
Type "/" and then the name of the value you would like to edit and press Enter to search for the value in the file.If more than on instance of the search string was found you can use "n" to go to the next instance or "?" to go to the previous one.
- Type "i" to enter insert mode.
Modify the value that you would like to change using the arrow keys on your keyboard.
Press ESC and then type ":wq!" then press Enter to save the changes and exit vim.If you would like to exit the file without making any changes press ESC, then type ":q!" and press Enter.
If you need to copy the backup intscan.ini, which has been saved in /var/tmp/, do the procedure below. Make sure to perform it during out-of-office hours to minimize any impact to the users.
- Rename the original intscan.ini file:
mv /etc/iscan/intscan.ini /etc/iscan/intscan.ini.bak
- Copy to the original location of the backup file in /var/tmp:
mv /var/tmp/intscan.ini /etc/iscan/intscan.ini
- Provide the correct permissions to the file:
chown iscan:iscan /etc/iscan/intscan.ini
chmod 664 /etc/iscan/intscan.ini
- Restart all the IWSVA daemons: This will interrupt the network traffic for a few minutes so plan accordingly.