6.1 Removing Unused Packages

In Access Gateway Appliance 4.2.2 and earlier, many packages that Access Gateway Appliance does not use were installed. Access Manager Update Channel does not provide new version updates for these packages. Hence, these package might be old and may contain potential vulnerability. The following is the list of unused packages:

  • Samba

  • libMagicCore1

  • netcat

  • telnet

  • rsh

  • gdb

  • gdbm

  • finger

  • gcc

  • rpcbind

  • rsync

  • tcpdump

In a fresh Access Manager 4.3 and later install, these packages have been removed. However, if you are upgrading your Access Manager setup to 4.3, it is recommended to remove these packages manually.

NOTE:The following sections includes the version of packages used during testing. You may have packages of different versions on your system.

6.1.1 Removing the Samba Packages

  1. Query for the samba packages installed on the server by using the following command:

    rpm -qa | grep -i samba

    This lists all versions of all samba packages installed on the server.

  2. Remove the packages by using the following commands:

    rpm -e samba-3.6.3

    rpm -e samba-winbind-3.6.3

    rpm -e samba-client-3.6.3

    rpm -e samba-winbind-32bit-3.6.3

    rpm -e samba-client-32bit-3.6.3

    rpm -e yast2-samba-server-2.18.0

    rpm -e yast2-samba-client-2.17.30

It is recommended to remove the packages in the same sequence (top to down) to avoid dependency issues.

6.1.2 Removing the libMagickCore1 Packages

  1. Query for the libMagickCore1 packages installed on the server by using the following command:

    rpm -qa | grep -i libMagickCore1

  2. Run the following commands:

    rpm -e yast2-fingerprint-reader-2.17.7-0.1.201

    rpm -e libfprint0-0.0.6-18.22.136

    rpm -e libMagickCore1-6.4.3.6-7.30.1

It is recommended to remove the packages in the same sequence (top to down) to avoid dependency issues.

6.1.3 Removing the netcat Packages

  1. Query for the netcat packages installed on the server by using the following command:

    rpm -qa | grep -i netcat

  2. Run the following command:

    rpm -e netcat-1.10

6.1.4 Removing the telnet Packages

  1. Query for the telnet packages installed on the server by using the following command:

    rpm -qa | grep -i telnet

  2. Run the following commands:

    rpm –e telnet-1.2

6.1.5 Removing the rsh Packages

  1. Query for the rsh packages installed on the server by using the following command:

    rpm -qa | grep -i rsh

  2. Run the following command:

    rpm –e rsh-0.17

6.1.6 Removing the gdb Packages

  1. Query for the gdb packages installed on the server by using the following command:

    rpm -qa | grep -i gdb

  2. Run the following command:

    rpm –e gdb-7.7

6.1.7 Removing the gdbm Packages

  1. Query for the gdbm packages installed on the server by using the following command:

    rpm -qa | grep -i gdbm

  2. Run the following command:

    rpm -e gdbm-1.8.3-374.25 --nodeps

NOTE:The gdbm packages has dependency on several other packages in the system. Before removing this package, ensure that it is not required.

6.1.8 Removing the finger Packages

  1. Query for the finger packages installed on the server by using the following command:

    rpm -qa | grep -i finger

  2. Run the following command:

    rpm -e finger-1.3-104.22

6.1.9 Removing the gcc Packages

  1. Query for the finger packages installed on the server by using the following command:

    rpm -qa | grep -i gcc

  2. Run the following commands:

    rpm -e gcc-32bit-4.3-62.200.2

    rpm -e gcc43-32bit-4.3.4_20091019-0.37.30

    rpm -e gcc-4.3-62.200.2

    rpm -e gcc43-4.3.4_20091019-0.37.30

It is recommended to remove the packages in the same sequence (top to down) to avoid dependency issues.

6.1.10 Removing the rpcbind Packages

  1. Query for the finger packages installed on the server by using the following command:

    rpm -qa | grep -i rpcbind

  2. Run the following commands:

    rpm -e ypbind-1.22-1.17.x86_64

    rpm -e nfs-client-1.2.3-18.38.43.1.x86_64

    rpm -e rpcbind-0.1.6+git20080930-6.20.1

It is recommended to remove the packages in the same sequence (top to down) to avoid dependency issues.

NOTE:The rpcbind packages has dependency on several other packages in the system. Before removing this package, ensure that it is not required.

6.1.11 Removing the rsync Packages

  1. Query for the rsync packages installed on the server by using the following command:

    rpm -qa | grep -i rsync

  2. Run the following command:

    rpm -e rsync-3.0.4-2.47.28

6.1.12 Removing the tcpdump Packages

  1. Query for the tcpdump packages installed on the server by using the following command:

    rpm -qa | grep -i tcpdump

  2. Run the following command:

    rpm -e tcpdump-3.9.8-1.27.1