#!/bin/sh # # Copyright (c) 2000, 2001 by Sun Microsystems, Inc. # All rights reserved. # #ident "@(#)minimize-firewall.fin 2.3 01/08/22 # # Firewall minimization finish script for JASS, removes # 58 packages from a Solaris 8 Core 64-bit installation. # Based on http://www.enteract.com/~lspitz/armoring2.html case ${JASS_UNAME} in 5.8) PACKAGES=' SUNWadmr SUNWatfsr SUNWatfsu SUNWauda SUNWaudd SUNWauddx SUNWcg6 SUNWcg6x SUNWdfb SUNWdtcor SUNWfcip SUNWfcipx SUNWfcp SUNWfcpx SUNWfctl SUNWfctlx SUNWftpr SUNWftpu SUNWi15cs SUNWi1cs SUNWkey SUNWluxdx SUNWluxop SUNWluxox SUNWm64 SUNWm64x SUNWmdi SUNWmdix SUNWnamow SUNWnisr SUNWnisu SUNWpcelx SUNWpcmci SUNWpcmcu SUNWpcmcx SUNWpcmem SUNWpcser SUNWpl5u SUNWpsdpr SUNWrmodu SUNWses SUNWsesx SUNWsndmr SUNWsndmu SUNWsolnm SUNWssad SUNWssadx SUNWtleux SUNWudf SUNWudfr SUNWudfrx SUNWusb SUNWusbx SUNWwsr2 SUNWxwdv SUNWxwdvx SUNWxwmod SUNWxwmox ' ;; *) log_error "Firewall Minimization is not currently" log_error "supported under Solaris ${JASS_UNAME}." ;; esac if [ ! -z ${PACKAGES} ]; then log_notice "Minimizing Solaris ${JASS_UNAME} for Firewall installation." for package in ${PACKAGES}; do rm_pkg ${package} done fi