ibm-information-center/dist/eclipse/plugins/i5OS.ic.rzal5_5.4.0.1/rzal5tftpnonns.htm

82 lines
5.4 KiB
HTML
Raw Permalink Normal View History

2024-04-02 14:02:31 +00:00
<?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="Configure TFTP for clients" />
<meta name="abstract" content="To allow clients to use the TFTP server, you must ensure that the QTFTP profile has authority to access the directories and files that the clients access through the TFTP server. You also need to set the TFTP server attributes to allow the desired client requests." />
<meta name="description" content="To allow clients to use the TFTP server, you must ensure that the QTFTP profile has authority to access the directories and files that the clients access through the TFTP server. You also need to set the TFTP server attributes to allow the desired client requests." />
<meta name="DC.Relation" scheme="URI" content="rzal5overview.htm" />
<meta name="copyright" content="(C) Copyright IBM Corporation 2000, 2006" />
<meta name="DC.Rights.Owner" content="(C) Copyright IBM Corporation 2000, 2006" />
<meta name="DC.Format" content="XHTML" />
<meta name="DC.Identifier" content="rzal5tftpnonns" />
<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>Configure TFTP for clients</title>
</head>
<body id="rzal5tftpnonns"><a name="rzal5tftpnonns"><!-- --></a>
<!-- Java sync-link --><script language="Javascript" src="../rzahg/synch.js" type="text/javascript"></script>
<h1 class="topictitle1">Configure TFTP for clients</h1>
<div><p>To allow clients to use the TFTP server, you must ensure that the
QTFTP profile has authority to access the directories and files that the clients
access through the TFTP server. You also need to set the TFTP server attributes
to allow the desired client requests.</p>
<div class="section">When configuring TFTP for use by clients, first determine the directories
and files that the clients are using. For this example, the clients use the
TFTP server to read files from the directory <samp class="codeph">/netpc/bin/system</samp>.</div>
<ol><li class="stepexpand"><span>Use the MKDIR command with an argument of <samp class="codeph">/netpc</samp> to
create the directory <samp class="codeph">/netpc</samp></span> <pre>MKDIR (netpc)</pre>
</li>
<li class="stepexpand"><span>Specify the WRKLNK command with an argument of <samp class="codeph">/netpc</samp></span> <pre>WRKLNK (netpc)</pre>
</li>
<li class="stepexpand"><span>Specify option 9 to display the current authorities.</span></li>
<li class="stepexpand"><span>For the *PUBLIC user, specify option 2, change user authority,
and specify *NONE for New data authorities.</span> <p>This ensures that
the file is not open to the public.</p>
</li>
<li class="stepexpand"><span>To add a user on the Work with Authority menu, specify the following
on the first line: 1 for Opt, QTFTP for User, and <samp class="codeph">*RX</samp> for
Data Authority.</span> <p>Press Enter.</p>
</li>
<li class="stepexpand"><span>Press the PF5 key to refresh the menu.</span> You see the userid
*PUBLIC with a data authority of *EXCLUDE, the userid QTFTP with a data authority
of *RX, and your own userid with a data authority of *RWX.<p>Use the MKDIR
command to create the following directories:</p>
<pre>/netpc/bin
/netpc/bin/system</pre>
<p>Each directory inherits the authority of the
parent directory and has the owner added implicitly as a user with *RWX authority.
Copy any files that the client requests to the <samp class="codeph">netpc/bin/system</samp> subdirectory.
You can copy the files in various ways, such as using the COPY command, File
Transfer Protocol (FTP), or iSeries™ Access. You must ensure that the QTFTP profile
has *R authority to each file that the client requests. To set the authorities
for the files, use the WRKLNK command and option 9 (Work with Authority).</p>
</li>
<li class="stepexpand"><span>Specify the CHGTFTPA command and press the PF4 key.</span></li>
<li class="stepexpand"><span>Change the Alternate source directory to <samp class="codeph">/netpc/bin/system</samp> and
press Enter. </span> <p>This allows the TFTP server to request any file
with the appropriate authority settings, including the directory <samp class="codeph">/netpc/bin/system</samp> in
its path.</p>
</li>
<li class="stepexpand"><span>To have the changes take effect, stop the TFTP server with ENDTCPSVR
*TFTP and restart it by using STRTCPSVR *TFTP.</span></li>
</ol>
</div>
<div>
<div class="familylinks">
<div class="parentlink"><strong>Parent topic:</strong> <a href="rzal5overview.htm" title="Trivial File Transfer Protocol (TFTP) is a simple protocol that provides basic file transfer function with no user authentication.">Trivial File Transfer Protocol</a></div>
</div>
</div>
</body>
</html>