# $Id: services.sed,v 1.6 2000/11/17 07:21:34 chouanar Exp $ # # # Author: Jean Chouanard # # ******************************************************************************************* # # Copyright (c) 2000 Xerox Corporation. All rights reserved. # # Redistribution and use in source and binary forms, with or without modification, # are permitted provided that the following conditions are met: # # Redistributions of source code must retain the above copyright notice, # this list of conditions and the following disclaimer. # # Redistributions in binary form must reproduce the above copyright notice, # this list of conditions and the following disclaimer in the documentation # and/or other materials provided with the distribution. # # Neither name of the Xerox, PARC, nor the names of its contributors may be # used to endorse or promote products derived from this software without # specific prior written permission. # # THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS ``AS IS'' # AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE # IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE # ARE DISCLAIMED. IN NO EVENT SHALL THE XEROX CORPORATION OR CONTRIBUTORS BE # LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL # DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; # LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY # THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING # NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, # EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. # # ******************************************************************************************* # ############################################### # # sed script to update /etc/system # !install /^# SECclean START/,/^# SECclean END/ { d b END } :END $a\ \# SECclean START\ \# *** WARNING *** :\ \# if you de-install SECclean, everything services defined below up to\ \# the line 'SECclean END' will be deleted\ ssh 22/tcp\ http 80/tcp\ https 443/tcp ssl # secure sockets layer\ socks 1080/tcp # Socks proxying\ \#\ \# SecurID server support\ \#\ securid 5500/udp # Ace/Server\ securidprop 5510/tcp\ sdlog 5520/tcp\ sdserv 5530/tcp\ sdreport 5540/tcp\ sdxauthd 5540/udp\ sdadmind 5550/tcp\ tacacs 49/tcp\ tacacs 49/udp\ radius 1645/udp\ radacct 1646/udp\ \# SECclean END # !remove /^# SECclean START/,/^# SECclean END/d # # $Log: services.sed,v $ # Revision 1.6 2000/11/17 07:21:34 chouanar # *** empty log message *** # # Revision 1.5 2000/11/12 00:47:33 chouanar # *** empty log message *** # # Revision 1.4 2000/07/18 23:49:54 chouanar # license # # Revision 1.3 2000/07/04 17:48:43 chouanar # license # # Revision 1.2 2000/03/16 01:40:56 chouanar # It works now! :-) # # Revision 1.1 2000/03/02 22:02:46 chouanar # Initial revision # # #