To restore the pgdba user shell permissions back to default, complete the following steps:
Procedure
- Log in to the NCM Application server hosts, as the root user.
- Run the following command on the Application Server hosts:
source /etc/voyence.conf
- Stop all the NCM services on the Application Server host, by running the following command:
service vcmaster stop
- If the NCM Database server is remote, run the following commands on the server, as the root user:
source /etc/voyence.confservice controldb stop
- Run the following commands on the NCM Database server:
- Run the following commands in the Linux shell on the host where the controldb resides, to restore the NCM controldb initialization script and pgdba user shell permissions:
cat /tmp/_[etc-init.d-]controldb.bak > /etc/init.d/controldb
usermod -s /sbin/nologin pgdba
- Restart the system:
reboot
- Run the following commands in the Linux shell on the host where the controldb resides, to restore the NCM controldb initialization script and pgdba user shell permissions:
- If the NCM Database server is remote, start all NCM services on the Application Server host, by running the following command:
service vcmaster start