Red Hat System Administration I · RH124

Chapter 4

Registering Systems for Red Hat Support

Subscriptions · subscription-manager · Red Hat Insights
CIS126RH — Mesa Community College
Register a Red Hat Enterprise Linux system, connect it to a subscription, and enable the repositories it needs for updates and support.

Key Commands

  • subscription-manager register
  • subscription-manager attach
  • subscription-manager list
  • subscription-manager repos
  • insights-client

A freshly installed RHEL system is unregistered. It can't download updates, install official Red Hat packages, or receive support.

Registration connects the system to your Red Hat account and provides:

  • Access to Red Hat software repositories
  • Security errata (published security and bug fix updates)
  • Support cases
  • Red Hat Insights
Warning — No Subscription, No PatchesProduction systems need a valid subscription before they can be patched.
TermMeaning
Red Hat accountYour personal login
OrganizationCompany-level account that owns subscriptions and systems, identified by an org ID
SubscriptionThe purchased right to use Red Hat software and receive updates and support
Entitlement certificateFile on a registered system that proves it may access content
Simple Content AccessAny registered system in the organization can access content without per-system subscription attachment
Tip — Simple Content Access Is the StandardSince late 2024, nearly all Red Hat accounts use Simple Content Access. Registration is the step that matters.
# Interactive: prompts for username and password
subscription-manager register

# Non-interactive
subscription-manager register --username=admin --password='********'

# Register to a specific organization
subscription-manager register --org=12345678

# Register with an activation key (no password needed)
subscription-manager register --org=12345678 --activationkey=rhel-key
Warning — Keep Passwords Off the Command LinePasswords typed as arguments can land in shell history and be visible in the process list. Let the command prompt you, or use an activation key.
# Overall subscription status
subscription-manager status

# System ID and the organization it is registered to
subscription-manager identity

# Remove the registration
subscription-manager unregister
Note — "Overall Status: Disabled"With Simple Content Access, older versions of status report Disabled. That is not an error. Use identity to confirm registration.
# Subscriptions available to attach, with pool IDs
subscription-manager list --available

# Attach a specific subscription by pool ID
subscription-manager attach --pool=8a85fXXXXXXXXXXXXXXXX

# Let subscription-manager choose
subscription-manager attach --auto

# Subscriptions the system is using
subscription-manager list --consumed
Warning — Obsolete Under Simple Content AccessOn accounts using Simple Content Access, attach is no longer required and typically makes no change or returns an error. Recognize these commands from older documentation and systems.
Note — Activation KeysLarger environments use activation keys to handle registration settings for many systems at once.
# Every repository available to this system
subscription-manager repos --list

# Enable a repository
subscription-manager repos --enable=rhel-9-for-x86_64-appstream-rpms

# Disable a repository
subscription-manager repos --disable=rhel-9-for-x86_64-supplementary-rpms

# Repositories currently enabled
dnf repolist
Tip — BaseOS and AppStreamNearly every system needs both enabled. BaseOS provides the core OS; AppStream provides applications, languages, and tools.

Red Hat Insights analyzes systems and flags security vulnerabilities, configuration mistakes, and performance risks before they cause problems, with recommended fixes.

# Connect the system to Insights
insights-client --register

# Collect and upload data
insights-client

# Check Insights registration
insights-client --status
NoteInsights uploads system configuration information, not personal data or file contents. Review results on the Red Hat Hybrid Cloud Console.
subscription-manager
Command-line tool for registration, subscriptions, and repositories
registration
Connecting a system to a Red Hat organization
organization
Company-level account that owns subscriptions and registered systems
entitlement certificate
File proving a system may access content
Simple Content Access
Lets any registered system access content without attaching subscriptions
activation key
Registers a system without a username and password
pool ID
Identifies a specific subscription that can be attached
repository
A collection of software packages a system can install from
Red Hat Insights
Analytics service that finds problems and recommends fixes
  1. What can't an unregistered RHEL system do?
  2. What is the difference between an organization, a subscription, and an entitlement certificate?
  3. How does Simple Content Access change the need for attach?
  4. What command shows which subscriptions a system has attached?
  5. A package you expect to install can't be found. What would you check?
  6. What is an activation key, and why would you use one?
  7. What does Red Hat Insights do, and where do you view its results?