![Red Hat NETWORK SATELLITE 5.1.0 - CHANNEL MANAGEMENT Reference Manual Download Page 218](http://html.mh-extra.com/html/red-hat/network-satellite-5-1-0-channel-management/network-satellite-5-1-0-channel-management_reference-manual_1427591218.webp)
Argument
Description
--get
Fetch the package specified without resolving
dependencies.
Table 9.3. Update Agent Command Line Arguments
5. Remote Commands
With UNIX support, RHN offers the flexibility of issuing remote commands on client systems
through the Satellite's RHN website. This feature allows you to run virtually any (compatible)
application or script on any system in your domain without ever having to open a terminal.
5.1. Enabling Commands
With the flexibility this tool offers comes great risk and the responsibility to mitigate that risk. For
all practical purposes, this feature grants a root BASH prompt to anyone with administrative
access to the system on the website.
This can be controlled, however, through the same config-enable mechanism used to determine
which systems can have their configuration files managed by Red Hat Network. Refer to
Section 4.2.9.3, “System Details # Configuration —
”
for details.
In short, you must create a directory and file on the UNIX system that tell RHN it is acceptable
to run remote commands on the machine. The directory must be named
script
, the file must
be named
run
, and both must be located in the
/etc/sysconfig/rhn/allowed-actions/
directory specific to your UNIX variant.
For instance, in Solaris, issue this command to create the directory:
mkdir -p /opt/redhat/rhn/solaris/etc/sysconfig/rhn/allowed-actions/script
To create the requisite file in Solaris, issue this command:
touch /opt/redhat/rhn/solaris/etc/sysconfig/rhn/allowed-actions/script/run
5.2. Issuing Commands
You may schedule a remote command in a variety of ways: on an individual system, on multiple
systems at once, and to accompany a package action.
To run a remote command on an individual system by itself, open the System Details page and
click the Remote Command subtab. (Note that this subtab only appears if the system has a
Provisioning entitlement.) On this page, establish the settings for the command. You may
Chapter 9. UNIX Support Guide
204
Summary of Contents for NETWORK SATELLITE 5.1.0 - CHANNEL MANAGEMENT
Page 1: ...Red Hat Network Satellite Reference Guide 5 1 0 5 1 ISBN Publication date ...
Page 2: ...Red Hat Network Satellite ...
Page 4: ...Red Hat Network Satellite ...
Page 12: ...xii ...
Page 22: ...8 ...
Page 35: ...Figure 2 11 Available Package Updates Available Package Updates 21 ...
Page 52: ...38 ...
Page 74: ...Figure 5 15 Text Mode Welcome Screen Chapter 5 Red Hat Network Registration Client 60 ...
Page 176: ...162 ...
Page 202: ...188 ...
Page 220: ...206 ...
Page 300: ...Your Preferences 71 Index 286 ...