Uninstalling Security World Software

This section describes how to uninstall Security World software.

Entrust recommends that you only uninstall the Security World software in the following circumstances:

  • You are certain it is no longer required.

  • You intend to upgrade it.

In Windows environments, because the hardserver is installed as a named service (known as the nFast server), it is only possible to have one Security World software installation on any given computer.

In Linux environments, it is also not possible to have more than one Security World software installation on the same computer.

Entrust therefore recommends that, when you are upgrading, any older versions of software are uninstalled and deleted.

The automated Security World software installers do not delete user created components, key data, or Security World data. However:

  • On Linux, a manual installation using .tar files does overwrite existing data and directories.

  • On Windows, if the installer detects an existing Security World Software installation, it asks you if you want to install the new components. These components replace your existing installation.

nShield 5s

Make sure you have completed the steps described in before upgrading software before you uninstall any software.

Uninstalling the Security World software on Windows

This procedure requires the privileges of the built-in local Administrators group.

  1. Open the Control Panel and select Programs and Features.

  2. For the following programs, select Uninstall and follow the on-screen instructions:

    • nShield Software.

    • CyberJack Base Components.

  3. If the file nCipherKM.jar is present, it is located in the extensions folder of your local Java Virtual Machine. The uninstall process may not delete this file and you have to remove it manually.

Removal of Security World data

The uninstaller removes only those files that were created during the installation.

If you wish to completely uninstall the Security World, including any data created during its operation, including key data, navigate to the installation directory and delete the files in the %NFAST_KMDATA% folder.

Do not remove Security World data as part of an upgrade procedure. Only remove Security World data if you wish to do a complete uninstallation.

Uninstalling the Security World software on Linux

This procedure requires root privileges.

Uninstalling the tarballs

  1. Remove drivers, install fragments, and scripts and to stop services, run the command:

    /opt/nfast/sbin/install -u
  2. Refer to Directory Cleanup for follow-on actions post uninstall.

Uninstalling the RPMs

Using dnf (Red-Hat Enterprise Linux and Oracle Enterprise Linux)

  1. List the installed nShield packages using dnf.

    dnf list installed "nShield*"

    Example output:

    dnf list installed | grep nShield
    nShield-ctd.x86_64                               13.7.3-1.1731531521.c6069a7d744  @@commandline
    nShield-ctls.x86_64                              13.7.3-1.1731531521.c6069a7d744  @@commandline
    nShield-devref.x86_64                            13.7.3-1.1731531521.c6069a7d744  @@commandline
    nShield-hwsp.x86_64                              13.7.3-1.1731531521.c6069a7d744  @@commandline
    nShield-javasp.x86_64                            13.7.3-1.1731531521.c6069a7d744  @@commandline
    nShield-jd.x86_64                                13.7.3-1.1731531521.c6069a7d744  @@commandline
    nShield-ncsnmp.x86_64                            13.7.3-1.1731531521.c6069a7d744  @@commandline
    nShield-raserv.x86_64                            13.7.3-1.1731531521.c6069a7d744  @@commandline
  2. Uninstall a single, or set of packages.

    dnf remove <package name> <package name>

    Example output:

    dnf remove nShield-ctls nShield-raserv
    Updating Subscription Management repositories.
    Dependencies resolved.
    ==========================================================================================================================================================
     Package                           Architecture              Version                                               Repository                        Size
    ==========================================================================================================================================================
    Removing:
     nShield-ctls                      x86_64                    13.7.3-1.1731531521.c6069a7d744                       @@commandline                    247 M
     nShield-raserv                    x86_64                    13.7.3-1.1731531521.c6069a7d744                       @@commandline                    1.6 M
    
    Transaction Summary
    ==========================================================================================================================================================
    Remove  2 Packages
    
    Freed space: 249 M
    ...
    Complete!
  3. Alternatively, uninstall all installed packages.

    dnf remove nShield*

    Example output:

    dnf remove nShield*
    Updating Subscription Management repositories.
    Dependencies resolved.
    ==========================================================================================================================================================
     Package                           Architecture              Version                                               Repository                        Size
    ==========================================================================================================================================================
    Removing:
     nShield-ctd                       x86_64                    13.7.3-1.1731531521.c6069a7d744                       @@commandline                    310 M
     nShield-ctls                      x86_64                    13.7.3-1.1731531521.c6069a7d744                       @@commandline                    247 M
     nShield-devref                    x86_64                    13.7.3-1.1731531521.c6069a7d744                       @@commandline                     42 M
     nShield-hwsp                      x86_64                    13.7.3-1.1731531521.c6069a7d744                       @@commandline                    307 M
     nShield-javasp                    x86_64                    13.7.3-1.1731531521.c6069a7d744                       @@commandline                    3.2 M
     nShield-jd                        x86_64                    13.7.3-1.1731531521.c6069a7d744                       @@commandline                    8.0 M
     nShield-ncsnmp                    x86_64                    13.7.3-1.1731531521.c6069a7d744                       @@commandline                     73 M
     nShield-raserv                    x86_64                    13.7.3-1.1731531521.c6069a7d744                       @@commandline                    1.6 M
    
    Transaction Summary
    ==========================================================================================================================================================
    Remove  8 Packages
    
    Freed space: 992
    ...
    Complete!

Using zypper (SUSE Enterprise Linux)

  1. List the installed nShield packages using zypper.

    zypper search --installed-only nShield

    Example output:

    zypper search --installed-only nShield
    Loading repository data...
    Reading installed packages...
    
    S  | Name           | Summary                              | Type
    ---+----------------+--------------------------------------+--------
    i+ | nShield-ctls   | nShield core tools                   | package
    i  | nShield-hwsp   | nShield hardware support             | package
    i+ | nShield-raserv | nShield remote administration server | package
    
        Note: For an extended search including not yet activated remote resources please use 'zypper
        search-packages'.
  2. Uninstall a single, or set of packages.

    zypper remove -y <package name> <package name>

    Example output:

    zypper remove -y nShield-ctls nShield-raserv
    Reading installed packages...
    Resolving package dependencies...
    
    The following 2 packages are going to be REMOVED:
      nShield-ctls nShield-raserv
    
    2 packages to remove.
    
    Package install size change:
                  |         0 B    required by packages that will be installed
      -250.7 MiB  |  -  250.7 MiB  released by packages that will be removed
    
    Backend:  classic_rpmtrans
    Continue? [y/n/v/...? shows all options] (y): y
    (1/2) Removing: nShield-ctls-13.7.3-1.1743026563.3b0b57a351a.x86_64 .....................................................................................[done]
    ...
    (2/2) Removing: nShield-raserv-13.7.3-1.1743026563.3b0b57a351a.x86_64 ...................................................................................[done]
  3. Alternatively, uninstall all installed packages.

    zypper remove -y "nShield-*"

    Example output:

    zypper remove -y "nShield-*"
    Reading installed packages...
    Resolving package dependencies...
    
    The following 3 packages are going to be REMOVED:
      nShield-ctls nShield-hwsp nShield-raserv
    
    3 packages to remove.
    
    Package install size change:
                  |         0 B    required by packages that will be installed
      -660.5 MiB  |  -  660.5 MiB  released by packages that will be removed
    
    Backend:  classic_rpmtrans
    Continue? [y/n/v/...? shows all options] (y): y
    (1/3) Removing: nShield-ctls-13.7.3-1.1743026563.3b0b57a351a.x86_64 .....................................................................................[done]
    ...
    (2/3) Removing: nShield-raserv-13.7.3-1.1743026563.3b0b57a351a.x86_64 ...................................................................................[done]
    ...
    (3/3) Removing: nShield-hwsp-13.7.3-1.1743026563.3b0b57a351a.x86_64 .....................................................................................[done]
Files that were created after an rpm was installed are not deleted.

Refer to Directory Cleanup for post-uninstall actions.

Directory Cleanup

  1. Delete all the files, including those in subdirectories, from /opt/nfast and /dev/nfast/.

    The following commands delete both software and data. If you are uninstalling as part of an upgrade ensure that you have performed all the steps in Before upgrading software to ensure that the critical data is backed-up so that it can be restored after the upgrade.
    rm -rf /opt/nfast
    rm -rf /dev/nfast
  2. If you are not re-installing the product, delete the configuration file /etc/nfast.conf if it exists.

  3. Unless they are needed for a new installation, remove the user and group nfast and, if they exist, the user and group ncsnmpd.

    sudo userdel ncsnmp
    sudo userdel nfast
    sudo groupdel ncsnmp
    sudo groupdel nfast
  4. If the file nCipherKM.jar is present, it is located in the extensions folder of your local Java Virtual Machine. The uninstall process may not delete this file and you may have to remove it manually.