ibm-information-center/dist/eclipse/plugins/i5OS.ic.rzamv_5.4.0.1/rzamvtcpstoplpd.htm

72 lines
4.2 KiB
HTML

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html
PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html lang="en-us" xml:lang="en-us">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta name="security" content="public" />
<meta name="Robots" content="index,follow" />
<meta http-equiv="PICS-Label" content='(PICS-1.1 "http://www.icra.org/ratingsv02.html" l gen true r (cz 1 lz 1 nz 1 oz 1 vz 1) "http://www.rsac.org/ratingsv01.html" l gen true r (n 0 s 0 v 0 l 0) "http://www.classify.org/safesurf/" l gen true r (SS~~000 1))' />
<meta name="DC.Type" content="task" />
<meta name="DC.Title" content="Prevent LPD access" />
<meta name="abstract" content="These instructions explain how to prevent LDP access." />
<meta name="description" content="These instructions explain how to prevent LDP access." />
<meta name="DC.Relation" scheme="URI" content="rzamvtcplpd.htm" />
<meta name="copyright" content="(C) Copyright IBM Corporation 2006" />
<meta name="DC.Rights.Owner" content="(C) Copyright IBM Corporation 2006" />
<meta name="DC.Format" content="XHTML" />
<meta name="DC.Identifier" content="tcpstoplpd" />
<meta name="DC.Language" content="en-us" />
<!-- All rights reserved. Licensed Materials Property of IBM -->
<!-- US Government Users Restricted Rights -->
<!-- Use, duplication or disclosure restricted by -->
<!-- GSA ADP Schedule Contract with IBM Corp. -->
<link rel="stylesheet" type="text/css" href="./ibmdita.css" />
<link rel="stylesheet" type="text/css" href="./ic.css" />
<title>Prevent LPD access</title>
</head>
<body id="tcpstoplpd"><a name="tcpstoplpd"><!-- --></a>
<!-- Java sync-link --><script language="Javascript" src="../rzahg/synch.js" type="text/javascript"></script>
<h1 class="topictitle1">Prevent LPD access</h1>
<div><p>These instructions explain how to prevent LDP access.</p>
<div class="section">If you do not want anyone to use LPD to access your system, you should
prevent the LPD server from running. Do the following:</div>
<ol><li class="stepexpand"><span>To prevent LPD server jobs from starting automatically when you
start TCP/IP, type the following: <samp class="codeph">CHGLPDA AUTOSTART(*NO)</samp></span> <div class="note"><span class="notetitle">Note:</span> <ol type="a"><li>AUTOSTART(*YES) is the default value. </li>
<li>Control which TCP/IP servers start automatically provides more information
about controlling which TCP/IP servers start automatically.</li>
</ol>
</div>
</li>
<li class="stepexpand"><span>To prevent someone from associating a user application, such as
a socket application, with the port that the system normally uses for LPD,
do the following:</span><ol type="a"><li><span>Type GO CFGTCP to display the Configure TCP/IP menu.</span></li>
<li><span>Select option 4 (Work with TCP/IP port restrictions).</span></li>
<li><span>On the Work with TCP/IP Port Restrictions display, specify option
1 (Add).</span></li>
<li><span>For the lower port range, specify 515.</span></li>
<li><span>For the upper port range, specify *ONLY.</span></li>
</ol>
<div class="note"><span class="notetitle">Note:</span> <ol type="a"><li>The port restriction takes effect the next time that you start TCP/IP.
If TCP/IP is active when you set the port restrictions, you should end TCP/IP
and start it again.</li>
<li>RFC1700 provides information about common port number assignments.</li>
</ol>
</div>
</li>
<li class="stepexpand"><span>For the protocol, specify *TCP.</span></li>
<li class="stepexpand"><span>For the user profile field, specify a user profile name that is
protected on your system. A protected user profile is a user profile that
does not own programs that adopt authority and does not have a password that
is known by other users. By restricting the port to a specific user, you automatically
exclude all other users.</span></li>
<li class="stepexpand"><span>Repeat steps 2c through 2g for the *UDP protocol.</span></li>
</ol>
</div>
<div>
<div class="familylinks">
<div class="parentlink"><strong>Parent topic:</strong> <a href="rzamvtcplpd.htm" title="LPD (line printer daemon) provides the capability to distribute printer output to your system. The system does not perform any sign-on processing for LPD.">Security considerations for LPD</a></div>
</div>
</div>
</body>
</html>