How to unregistered the server from the Red Hat Network


If the system is registered to Red Hat Satellite Manager run below commands

# subscription-manager clean

If the system is registered to Red Hat Network Classic method then remove or move the systemid file from /etc/sysconfig/rhn/systemid to some other location

mv /etc/sysconfig/rhn/systemid /tmp/
rm -rf /etc/sysconfig/rhn/systemid

Once the system is unregistered then clean yum cache:

# rm -rf /var/cache/yum/*

# yum clean all

This will remove the server from Red Hat Network and  remove redhat.repo from /etc/yum.repos.d/ as well.

Recommended For You

About the Author: admin

Leave a Reply

Your email address will not be published. Required fields are marked *

Subscribe To Our Newsletter
Subscribe to our email newsletter today to receive updates on the latest news, tutorials and special offers!
No Thanks
Thanks for signing up. You must confirm your email address before we can send you. Please check your email and follow the instructions.
We respect your privacy. Your information is safe and will never be shared.
Don't miss out. Subscribe today.
WordPress Popup Plugin