1RHNREG_KS(8) Red Hat, Inc. RHNREG_KS(8)
2
3
4
6 rhnreg_ks - A program for non interactively registering systems to Red
7 Hat Network.
8
9
11 rhnreg_ks [options]
12
13
15 rhnreg_ks is a utility for registering a system with the Red Hat Net‐
16 work. It is designed to be used in a non-interactive environment (a
17 kickstart style install, for example). All the information can be spec‐
18 ified on the command line or stdin.
19
20
22 --profilename
23 Specify the profile name that should be used as an identifier
24 for the system in Red Hat Network
25
26 --username
27 The username to register the system with under Red Hat Network.
28 This can be an existing Red Hat Network username, or a new user‐
29 name.
30
31 --password
32 The password associated with the username specified with the
33 --username option. This is an unencrypted password.
34
35 --activationkey
36 Specify/use a serial number to associate with the system. This
37 is optional, but activation keys can really simplify the regis‐
38 tration process. Learn more about activation keys in the online
39 RHN documentation.
40
41 --contactinfo
42 This option has been deprecated. Please login to the server web
43 user interface and update your contactinfo.
44
45 --nohardware
46 Do not probe or upload any hardware information.
47
48 --nopackages
49 Do not profile or upload any package information.
50
51 --novirtinfo
52 Do not profile or upload any virtualization information.
53
54 --norhnsd
55 Do not start rhnsd after completion.
56
57 --force
58 Register the system even if it has already been registered.
59
60 --version
61 Show the version of rhnreg_ks.
62
63 --proxy
64 Specify a HTTP proxy to use.
65
66 --proxyUser
67 Specify a username to use with an authenticated HTTP proxy.
68
69 --proxyPassword
70 Specify a password to use with an authenticated HTTP proxy.
71
72 --sslCACert
73 Specify a path to a SSL CA certificate to use.
74
75 --serverUrl
76 Specify a URL to as the server.
77
78 -h, --help
79 Show a help message and exit.
80
81
83 /etc/sysconfig/rhn/systemid
84 The digital server ID for this machine if the system has been
85 registered onto Red Hat Network. This file does not exist oth‐
86 erwise.
87
88 /etc/sysconfig/rhn/update
89 The common configuration file used by RHN client programs.
90
91
93 Register a new system to Red Hat Network:
94
95 rhnreg_ks --profilename "example_profile_name" --username "someexampleuser" --password "foobar"
96
97 Register a new system to Red Hat Network with contact info:
98
99 rhnreg_ks --profilename "example_profile_name" --username "someexampleuser" --password "foobar" --contactinfo < contactinfo
100
101 where the file "contactinfo" contains data in the format:
102
103 first_name: Billy
104 last_name: Bob
105 company: SomeCompanyName
106 city: Springfield
107 fax: 555-5555
108 phone: 555-5555
109
110
111
113 rhn_check(8), rhn_register(8), rhnsd(8), rhn-profile-sync(8), rhnplu‐
114 gin(8), up2date(5).
115
116
118 See the AUTHORS file included with this software.
119
120 This manual page was written by Adrian Likins <alikins@redhat.com> and
121 James Bowes <jbowes@redhat.com>
122
123
125 Report bugs to <http://bugzilla.redhat.com>.
126
127
129 Copyright © 1999-2006 Red Hat, Inc.
130
131
132 This is free software; see the source for copying conditions. There is
133 NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR
134 PURPOSE.
135
136
137
138Linux 2006 November 13 RHNREG_KS(8)