190
Appendix A. Command Line Config Management Tools
than root, you may have to make configuration changes within the
~/.rhncfgrc
file. The
session file is cached in
~/.rhncfg-manager-session
to prevent logging in for every
command.
The default timeout for the
Red Hat Network Configuration Manager
is 30 minutes.
To alter this, add the
server.session_lifetime
option and new value to the
/etc/rhn/rhn.conf
file on the server running the manager, like so:
server.session_lifetime = 120
The
Red Hat Network Configuration Manager
offers these primary modes: add, create-
channel, diff, diff-revisions, download-channel, get, list, list-channels, remove, remove-
channel, revisions, update, and upload-channel.
Each mode offers its own set of options, which can be seen by issuing the following com-
mand:
rhncfg-manager
mode
--help
Replace
mode
with the name of the mode to be inspected:
rhncfg-manager diff-revisions --help
You can see such a list of options for the add mode at Table A-4.
A.3.1. Creating a Config Channel
To create a config channel for your organization, issue the command:
rhncfg-manager create-channel
channel-label
If prompted for your RHN username and password, provide them. The output resembles
the following:
Red Hat Network username: rhn-user
Password:
Creating config channel
channel-label
Config channel
channel-label
created
Once you have created a config channel, use the remaining modes listed above to populate
and maintain that channel.
A.3.2. Adding Files to a Config Channel
To add a file to a config channel, specify the channel label as well as the local file to be
uploaded, such as:
Содержание NETWORK 4.0 -
Страница 1: ...Red Hat Network 4 0 Reference Guide...
Страница 10: ......
Страница 16: ...vi Introduction to the Guide...
Страница 24: ...8 Chapter 1 Red Hat Network Overview...
Страница 40: ...24 Chapter 2 Red Hat Update Agent Figure 2 11 Available Package Updates...
Страница 58: ...42 Chapter 2 Red Hat Update Agent...
Страница 80: ...64 Chapter 5 Red Hat Network Registration Client Figure 5 15 Text Mode Welcome Screen...
Страница 186: ...170 Chapter 7 Monitoring...
Страница 200: ...184 Chapter 8 UNIX Support Guide...
Страница 214: ...198 Appendix A Command Line Config Management Tools...
Страница 274: ...258 Appendix C Probes...
Страница 282: ...266 Glossary...