Installation guide

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.
In short, you must create a directory and file on the UNIX system that tells Red Hat Network it is
acceptable to run remote commands on the machine. The directory must be named scri pt, the file
must be named run, and both must be located in the /etc/sysco nfi g /rhn/al l o wed -acti o ns/
directory specific to your UNIX variant.
For instance, in Solaris, issue this command to create the directory:
mkd i r -p /o pt/red hat/rhn/so l ari s/etc/sysco nfi g /rhn/al l o wed -
acti o ns/scri pt
To create the requisite file in Solaris, issue this command:
to uch /o pt/red hat/rhn/so l ari s/etc/sysco nfi g /rhn/al l o wed -
acti o ns/scri pt/run
4.1.9 .2 . Issuing Co m m ands
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 D etai l s page and
click the R emo te C o mmand 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 identify a
specific user, group, and timeout period, as well as the script itself. Select a date and time to begin
attempting the command, and click the Sched ul e R emo te C o mmand link.
Similarly, you may issue a remote command on multiple systems at once through the System Set
Manag er. Select the systems, go to the System Set Manag er, click the Pro vi si o ni ng tab, and
scroll down to the R emo te C o mmand section. From there you may run a remote command on the
selected systems at once.
To run a remote command with a package action, schedule the action through the P ackag es tab of
the System D etai l s page and click R un R emo te C o mmand while confirming the action. Use the
radio buttons at the top to determine whether the command should run before or after the package
action, establish the settings for the command, and click Sched ul e P ackag e Instal l /Upg rad e.
Note that installing multiple packages that have different remote commands requires scheduling the
installs separately or combining the commands into a single script.
Chapt er 4 . Red Hat Sat ellit e and Solaris- specific Informat ion
25