How to Register and Subscribe a system in Redhat Linux
1) Register and automatically subscribe the system in one step:
[ # subscription-manager register – -username <username> – -password <password> – -auto-attach
# subscription-manager register – -username <username> – -password <password> – -auto-attach
NOTE: user name and password are the same as your login credentials for Red Hat Customer Portal.
2) Register first and then attach the subscription:
# subscription-manager register
# subscription-manager register