SUMMARY: Solaris 9 Hardening Script Problem

From: Anthony Gunia <>
Date: Mon May 30 2005 - 10:21:07 EDT
Many thanks to Michael DeSimone, James Noyes, Angelos Kanellopoulos, Simon
Burr, and Nathan Dietsch.  James pointed out that I was missing the 'mv inetd.conf'  line in the code:

awk "(\$1 == \"$svc\") { \$1 = \"#\" \$1 }; {print}" \
inetd.conf >
mv inetd.conf

Also, it was pointed out by Simon that I could use sed for much the same
thing as follows:

sed "s/^\\(${svc}[     ].*\\)/#\1/" inetd.conf >

Michael mentioned that I could just comment out everything using vi as


Nathan and Angelos mentioned using JASS, which is not an option for me at
this time.  Thanks again, and have a great Memorial Day!

sunmanagers mailing list
Received on Mon May 30 10:21:37 2005

This archive was generated by hypermail 2.1.8 : Thu Mar 03 2016 - 06:43:47 EST