Redhat System Registration


To be able to install software or apply patches with a redhat server you need to perform a system Registration.


[root] subscription-manager register --username <username> --password <password> --auto-attach

 [root] subscription-manager register --username scott --password tiger --auto-attach
 Registering to:
 The system has been registered with ID: 7b7e9cd5-38ac-4445-a70f-1dd4b233ac8c
 The registered system name is: lnx01.mycompany.local
 Installed Product Current Status:
 Product Name: Red Hat Enterprise Linux Server
 Status:       Subscribed


 0. You have created a account.

 1. Log into the GUI as the root user.

 2. Applications 🠊 RH Subscription Manager 🠊 [Register]

 3. Login:     < Username>
    Password:  ******
    Systemname: <UseDefault>

    Confirm Subscriptions (Phyiscal 1): [Attach]

    It will connect to Redhat then show Subscribed as Status.

Standard Unregister\Register Session

 subscription-manager unregister
 subscription-manager clean
 subscription-manager register --username scott --password tiger --auto-attach --force

If preferred: subscription-manager unregister --username=scott

Complete Clean Refresh of Subscription

 # subscription-manager remove --all
 # subscription-manager unregister
 # subscription-manager clean
 # subscription-manager register --username=scotttiger
 # subscription-manager attach --auto

Redhat URL that shows subscription info for all systems.


If the process hangs during subscription-manager register or any other part, try killing the subscription-manager as shown below then retrying your command:

 # pgrep rhsmcertd 
 # kill -9 pid (replace 'pid' with the actual process ID)
 # service rhsmcertd restart

 subscription-manager register --username scott --password tiger --auto-attach --force

Related Info

How to register and subscribe a system to the Red Hat Customer Portal using Red Hat Subscription-Manager Link :

  1. yum clean all
  2. yum repolist