Scroll to navigation

RHNREG_KS(8) Red Hat, Inc. RHNREG_KS(8)

NAME

rhnreg_ks - A program for non interactively registering systems to Spacewalk Server, Red Hat Satellite or Red Hat Network Classic.

SYNOPSIS

rhnreg_ks [options]

DESCRIPTION

rhnreg_ks is a utility for registering a system with the "Spacewalk Server", "Red Hat Satellite" or "Red Hat Network Classic". It is designed to be used in a non-interactive environment (a kickstart style install, for example). All the information can be specified on the command line or stdin.

OPTIONS

Specify the profile name that should be used as an identifier for the system in Spacewalk Server, Red Hat Satellite or Red Hat Network Classic
The username to register the system with under Spacewalk Server, Red Hat Satellite or Red Hat Network Classic. This can be an existing Spacewalk, Red Hat Satellite or Red Hat Network Classic username, or a new username.
The password associated with the username specified with the --username option. This is an unencrypted password.
Specify/use a serial number to associate with the system. This is optional, but activation keys can really simplify the registration process. Learn more about activation keys in the online RHN documentation.
This option has been deprecated. Please login to the server web user interface and update your contactinfo.
Do not probe or upload any hardware information.
Do not profile or upload any package information.
Do not profile or upload any virtualization information.
Do not start rhnsd after completion.
Register the system even if it has already been registered.
Show the version of rhnreg_ks.
Specify a HTTP proxy to use.
Specify a username to use with an authenticated HTTP proxy.
Specify a password to use with an authenticated HTTP proxy.
Specify a path to a SSL CA certificate to use.
Specify a URL to as the server.
Show a help message and exit.

FILES

/etc/sysconfig/rhn/systemid
The digital server ID for this machine if the system has been registered onto "Spacewalk Server", "Red Hat Satellite" or "Red Hat Network Classic". This file does not exist otherwise.
/etc/sysconfig/rhn/up2date
The common configuration file used by RHN client programs.

EXAMPLES

Register a new system to Spacewalk / Red Hat Satellite / Red Hat Network Classic:

rhnreg_ks --profilename "example_profile_name" --username "someexampleuser" --password "foobar"

SEE ALSO

rhn_check(8), rhn_register(8), rhnsd(8), rhn-profile-sync(8), rhnplugin(8), up2date(5).

AUTHORS

See the AUTHORS file included with this software.

This manual page was written by Adrian Likins <alikins@redhat.com> and James Bowes <jbowes@redhat.com>

BUGS

Report bugs to <http://bugzilla.redhat.com>.

COPYRIGHT

Copyright © 1999-2011 Red Hat, Inc.

This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

2011 February 4 Linux