3.5 Uninstalling

To fully uninstall an Identity Audit installation, you must run the uninstall script and then perform some manual cleanup steps.

  1. Log into the Identity Audit server as root.

  2. Stop the Identity Audit service:

    /etc/init.d/identity_audit stop
    
  3. Run the uninstallation script:

    /opt/novell/identity_audit_1.0_x86-64/setup/root_uninstall_service.sh
    
  4. Delete the Identity Audit home directory and its contents.

    rm -rf /opt/novell/identity_audit_1.0_x86-64
    

    The final steps depend on whether you want to retain any information related to the novell user and group.

  5. (Conditional) If you do not want to retain any information related to the novell user, run the following command to remove the user, its home directory, and the group:

    userdel -r novell && groupdel novell

  6. (Conditional) If you do want to retain the novell user and its home directory but want to remove all Identity-Audit-related settings:

    1. Remove the following environment variable entries for Identity Audit from the novell user’s profile (in ~novell/.bashrc):

      APP_HOME=/opt/novell/identity_audit_1.0_x86-64 export PATH=$APP_HOME/bin:$PATH

    2. Remove the dbauser entry from the PostgreSQL file ~novell/.pgpass. *:*:*:dbauser:password

      Although the dbauser password is shown in clear text, the contents of this file are only visible to the novell and root users, which already have full access to all functions on the Identity Audit server.