Uninstall nCipher Software on CentOS

  • login as root
  • go to “opt/nfast/sbin”
  • execute “install -u”
[root@thalesrfs01 sbin]# ./install --help
./install [-d] [-u]
-d : debug mode
-u : uninstall only
[root@thalesrfs01 sbin]# ./install -u
---- Stopping any nCipher servers ----
-- Running shutdown script 60raserv
-- Running shutdown script 50hardserver
-- Running shutdown script 46exard
-- Running shutdown script 45drivers
---- Cleaning up any old install ----
-- Running uninstall fragment drivers
Removing nCipher 'drivers' init scripts.
Removing nCipher 'drivers' uninstall script.
Removing nCipher 'drivers' systemd unit.
-- Running uninstall fragment exard
Removing nCipher 'exard' init scripts.
Removing nCipher 'exard' uninstall script.
Removing nCipher 'exard' systemd unit.
-- Running uninstall fragment hardserver
Disabling the service
Note: Forwarding request to 'systemctl disable nc_hardserver.service'.
Removed symlink /etc/systemd/system/multi-user.target.wants/nc_hardserver.service.
Unlinking system init scripts
Disabling and unlinking systemd units
Removing nCipher 'hardserver' init scripts.
Removing nCipher 'hardserver' uninstall script.
Removing nCipher 'hardserver' systemd unit.
Removing nCipher 'hardserver' startup / shutdown scripts
-- Running uninstall fragment raserv
Disabling the service
Note: Forwarding request to 'systemctl disable nc_raserv.service'.
Removed symlink /etc/systemd/system/multi-user.target.wants/nc_raserv.service.
Unlinking system init scripts
Disabling and unlinking systemd units
Removing nCipher 'raserv' init scripts.
Removing nCipher 'raserv' uninstall script.
Removing nCipher 'raserv' systemd unit.
Removing nCipher 'raserv' startup / shutdown scripts
-- Running uninstall fragment zzselinux
Unregister the SELinux policy for nFast, will take some time.
libsemanage.semanage_direct_remove_key: Removing last nfast module (no other nfast module exists at another priority).
[root@thalesrfs01 sbin]# ls
hardserver init.d-ncipher install nffwd raserv server.conf
[root@thalesrfs01 sbin]#
  • execute “rm -rf /opt/nfast” command
  • execute “rm /etc/nfast.conf” command
  • execute “userdel nfast” command – the command will delate “nfast” group too.
[root@thalesrfs01 /]# userdel nfast
[root@thalesrfs01 /]# groupdel nfast
groupdel: group 'nfast' does not exist
[root@thalesrfs01 /]#
  • execute “userdel raserv” command – the command will delate “raserv” group too
  • execute “userdel ncsnmpd” command – the command will delate “ncsnmpd” group too

NOTE

  • raserv – is available if you have nCipher Remote Admin Server
  • ncsnmpd – is available if you have SNMP service

Leave a Reply

Your email address will not be published. Required fields are marked *

3 + 16 =