ibm-information-center/dist/eclipse/plugins/i5OS.ic.rzahq_5.4.0.1/rzahqsbmnwscmd.htm

81 lines
4.9 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 xmlns="http://www.w3.org/1999/xhtml" lang="en-US" xml:lang="en-us">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta name="dc.language" scheme="rfc1766" 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. -->
<meta name="dc.date" scheme="iso8601" content="2005-09-13" />
<meta name="copyright" content="(C) Copyright IBM Corporation 1998, 2006" />
<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))' />
<title>Run integrated Windows server commands remotely</title>
<link rel="stylesheet" type="text/css" href="ibmidwb.css" />
<link rel="stylesheet" type="text/css" href="ic.css" />
</head>
<body>
<a id="Top_Of_Page" name="Top_Of_Page"></a><!-- Java sync-link -->
<script language = "Javascript" src = "../rzahg/synch.js" type="text/javascript"></script>
<a name="rzahqsbmnwscmd"></a>
<h2 id="rzahqsbmnwscmd">Run integrated Windows server commands remotely</h2>
<p>You can use i5/OS&trade; to remotely submit integrated server batch commands.
Windows server commands that can run in batch mode without user interaction
will work. Before submitting a remote command verify that the following is
true:</p>
<ul>
<li>The server is an Integrated Windows Server on this i5/OS and is active.</li>
<li>Your user profile is enrolled to the integrated Windows server or domain,
or you sign-on with the QSECOFR profile.</li>
<li>You have authority to run SBMNWSCMD, which requires *JOBCTL special authority.
You must also have at least *USE authority to the QSYS/SBMNWSCMD *CMD object.</li>
<li>If the user profile *LCLPWDMGT value is *YES, then the system value, QRETSVRSEC,
must be set to 1 and the user password must be changed or the user have signed-on
after QRETSVRSEC was changed.</li>
<li>If the user profile *LCLPWDMGT value is *NO, then network authentication
(Kerberos) is used. The user must access the iSeries&trade; operation through Kerberos enabled
applications (like iSeries Navigator single sign-on). See <a href="rzahqsbmnwscmdandkerberos.htm#rzahqsbmnwscmdandkerberos">SBMNWSCMD and file level backup support for Kerberos v5 and EIM</a> for
more information.</li>
<li>The i5/OS user profile password, and Windows password must be equivalent.
The easiest way to keep them consistent is to use User and Group enrollment.</li></ul>
<p>You may also want to read these <a href="rzahqremotecmdguidelines.htm#rzahqremotecmdguidelines">Guidelines for submitting remote commands</a>.</p>
<p><span class="bold">To run integrated server commands from iSeries Navigator</span></p>
<ol type="1">
<li>In iSeries Navigator, select <span class="bold">Integrated Server Administration</span> &mdash;> <span class="bold">Servers</span>.</li>
<li>Right-click the server on which to run the batch command and select <span class="bold">Run command</span>.</li>
<li>On the <span class="bold">Run Command</span> panel, type the Windows command
to run (such as <tt>dir \</tt>).
<p><span class="bold">Tip:</span> You can select the command from a list of 10 commands that you
have run previously on the server.</p></li>
<li><img src="delta.gif" alt="Start of change" />Click <span class="bold">Run</span> to run the command.<img src="deltaend.gif" alt="End of change" /></li></ol>
<dl>
<dt class="bold"><span class="bold">Note:</span></dt>
<dd>A command using the Run Command panel uses *PRIMARY as the authentication
domain. For alternative domains use SBMNWSCMD.
</dd>
</dl>
<p><span class="bold">To run integrated Windows server commands from the character-based
interface</span></p>
<p></p>
<ol type="1">
<li>Type <tt>CALL QCMD</tt> and press Enter.</li>
<li>Type <tt>SBMNWSCMD</tt> and press F4.</li>
<li>Type the command you want to run on the remote server. Page down.</li>
<li>Enter the NWSD of the server you want to run the command on and press
enter.</li>
<li>The i5/OS account which you are using should be enrolled to the integrated
server in order to be granted authentication to run the remote command. The
Authentication domain field allows you to specify where to attempt to authenticate
your user ID.</li>
<li>The output returned from the command will be displayed on the console.
Press F10 to see all messages.</li></ol>
<a id="Bot_Of_Page" name="Bot_Of_Page"></a>
</body>
</html>