A.1.1. General Command Line Options - Red Hat NETWORK SATELLITE 5.1.1 Reference Manual

Hide thumbs Also See for NETWORK SATELLITE 5.1.1:
Table of Contents

Advertisement

Appendix A. Command Line Config
Management Tools
In addition to the options provided in the RHN website, Red Hat Network offers two command line
tools for managing a system's configuration files: the Red Hat Network Configuration Client and the
Red Hat Network Configuration Manager. There is a complementary Red Hat Network Actions
Control tool that is used to enable and disable configuration management on client systems. If you
do not yet have these these tools installed, they can be found within the RHN Tools child channel for
your operating system.
Tip
Keep in mind, whenever a configuration file is deployed via RHN, a backup of the
previous file including its full path is made in the /var/lib/rhncfg/backups/
directory on the affected system. The backup retains its filename but has a .rhn-cfg-
backup extension appended.
A.1. Red Hat Network Actions Control
The Red Hat Network Actions Control (rhn-actions-control) application is used to enable and
disable configuration management of a system. Client systems cannot be managed in this fashion
by default. This tool allows Satellite Administrators to enable or disable specific modes of allowable
actions such as: deploying a configuration file onto the system, uploading a file from the system, diffing
what is currently managed on a system and what is available, or allowing running arbitrary remote
commands. These various modes are enabled/disabled by placing/removing files and directories in
the /etc/sysconfig/rhn/allowed-actions/ directory. Due to the default permissions on the
/etc/sysconfig/rhn/ directory, RHN Actions Control will most likely have to be run by someone
with root access.

A.1.1. General command line options

There is a man page available, as there are for most command line tools, though the use of this tool is
simple enough to describe here briefly. Simply decide what RHN scheduled actions should be enabled
for use by system administrators. The following options enable the various scheduled action modes:
Option
--enable-deploy
--enable-diff
--enable-upload
--enable-mtime-upload
--enable-all
--enable-run
--disable-deploy
--disable-diff
--disable-upload
Description
Allow rhncfg-client to deploy files.
Allow rhncfg-client to diff files.
Allow rhncfg-client to upload files.
Allow rhncfg-client to upload mtime.
Allow rhncfg-client to do everything.
Enable script.run
Disable deployment.
Disable diff
Disable upload
189

Advertisement

Table of Contents
loading

Table of Contents