subscription-manager registersubscription-manager attachsubscription-manager listsubscription-manager reposinsights-clientA 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:
| Term | Meaning |
|---|---|
| Red Hat account | Your personal login |
| Organization | Company-level account that owns subscriptions and systems, identified by an org ID |
| Subscription | The purchased right to use Red Hat software and receive updates and support |
| Entitlement certificate | File on a registered system that proves it may access content |
| Simple Content Access | Any registered system in the organization can access content without per-system subscription attachment |
# 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
# Overall subscription status subscription-manager status # System ID and the organization it is registered to subscription-manager identity # Remove the registration subscription-manager unregister
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
attach is no longer required and typically makes no change or returns an error. Recognize these commands from older documentation and systems.# 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
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
attach?