Appendix B. Command Line Config Management Tools
240
--- /tmp/@3603.0.rhn-cfg-tmp 2004-01-13 14:18:31.000000000 -0500 +++ /
etc/example-config.txt 2003-12-16 21:35:32.000000000 -0500 @@ -1,3 +1,5 @@
+additional text
In addition, you may include the
--topdir
option to compare config files in RHN with those located in
an arbitrary (and unused) location on the client system, like so:
[root@ root]# rhncfg-client diff --topdir /home/test/blah/ /usr/bin/
diff: /home/test/blah/etc/example-config.txt: No such file or directory /
usr/bin/diff: /home/test/blah/var/spool/aalib.rpm: No such file or
directory
B.2.5. Verifying Config Files
To quickly determine if client configuration files are different than those associated with it via RHN,
issue the command:
rhncfg-client verify
The output resembles the following:
modified /etc/example-config.txt /var/spool/aalib.rpm
The file
example-config.txt
is locally modified, while
aalib.rpm
is not.
The following table lists the options available for
rhncfg-client verify
:
Option
Description
-v, --verbose
Increase the amount of output detail. Displays
differences in the mode, owner, and group permissions
for the specified config file.
-h, --help
Show help message and exit
Table B.3.
rhncfg-client verify
options
B.3. Red Hat Network Configuration Manager
Unlike the
Red Hat Network Configuration Client
, the
Red Hat Network Configuration Manager
(
rhncfg-manager
) is designed to maintain RHN's central repository of config files and channels,
not those located on client systems. This tool offers a command line alternative to the configuration
management features within the RHN website, as well as the ability to script some or all of the related
maintenance.
It is intended for use by Config Administrators and requires an RHN username and password that has
the appropriate permission set. The username may be specified in
/etc/sysconfig/rhn/rhncfg-
manager.conf
or in the [rhncfg-manager] section of
~/.rhncfgrc
.
Содержание NETWORK SATELLITE 5.3.0 - CHANNEL MANAGEMENT
Страница 1: ...Red Hat Network Satellite 5 3 0 Reference Guide Red Hat Network Satellite ...
Страница 32: ...20 ...
Страница 44: ...Chapter 4 Red Hat Update Agent 32 Figure 4 11 Available Package Updates ...
Страница 168: ...156 ...
Страница 180: ...168 ...
Страница 216: ...204 ...
Страница 232: ...220 ...
Страница 248: ...236 ...
Страница 260: ...248 ...
Страница 309: ...297 Appendix E Revision History Revision 1 0 Fri Feb 27 2009 ...
Страница 310: ...298 ...
Страница 318: ...306 ...