Unlocking and Locking the AVSYS User

When installing or administering Oracle Database Security Central (Oracle DBSecCentral), you sometimes need to unlock and relock the AVSYS user.

Unlocking the AVSYS User

Use these steps to temporarily unlock the AVSYS user to complete an installation or administration task.

Prerequisite

Log in to the Audit Vault Server through SSH and switch to the root user.

Procedure

  1. Switch to the dvaccountmgr user.

    su - dvaccountmgr
  2. Start SQL*Plus without the user name and password.

    sqlplus /
  3. Run the following command to unlock avsys:

    alter user avsys identified by <password> account unlock;
  4. Exit SQL*Plus.

    exit

Note: To connect as the AVSYS user, connect to the dbfwdb pluggable database (PDB). For example: sqlplus avsys@dbfwdb

Locking the AVSYS User

Use these steps to lock the AVSYS user after you’ve unlocked it to complete an installation or administration task.

Prerequisite

Log in to the Audit Vault Server through SSH and switch to the root user.

Procedure

  1. Switch to the dvaccountmgr user.

    su - dvaccountmgr
  2. Start SQL*Plus without the user name and password.

    sqlplus /
  3. Run the following command to lock avsys:

    alter user avsys account lock;
  4. Exit SQL*Plus.

    exit