Jesin's Blog

Welcome to the Portal of Technology

  • Facebook
  • GitHub
  • Google+
  • RSS
  • Twitter
  • Home
  • Categories
    • Domains
    • Linux
    • Networking
    • PHP
    • Virtualization
    • Web Design
    • Web Servers
    • Windows
  • WordPress Plugins
    • Custom Error Pages
    • HTTP Digest Authentication
    • Mailgun Email Validator
  • Toolbox
    • DNS Lookup Tool
    • htdigest Generator Tool Online
    • htpasswd Generator Tool Online
    • HTTP Headers Lookup Tool
    • MD5 Encryption Tool
    • Open Port Check Tool
    • SHA-1 Encryption Tool
    • URL Encoding/Decoding Tool
  • About Me
  • Contact Me
  • Sitemap
Home ›
Linux ›
How to unregister RHN (Red Hat Network)

How to unregister RHN (Red Hat Network)

April 20, 2011 Linux Jesin A 4 Comments

linux category thumbnail

The RHN (Red Hat Network) is a service provided by Red Hat for receiving updates and support for your Red Hat Enterprise Linux installation. A RHEL copy can be added to RHN by executing the rhn_register command. If for some reason you want to unregister a machine from your RHN network login to RHN from http://rhn.redhat.com/ select you system and click “Delete System” located on the top right.

It isn’t over yet because your computer still “thinks” it is a part of RHN network. To unregister the computer a file has to be removed. Login as root user and execute the following command

rm /etc/sysconfig/rhn/systemid

if you aren’t comfortable with the command line open a file browser with super user permissions (root) navigate to /etc/sysconfig/rhn and delete the file systemid. You can execute rhn_register to reregister that system in future.

Related posts:

linux category thumbnailLinux ACL Tutorial linux category thumbnailForgot MySQL root user password (Linux) linux password lockout policy thumbnailLinux password lockout policy linux category thumbnailHow to make undeletable files and directories in Linux How to save IPtables rules in Debian

Tags: linux

Comments

  1. Razvan says

    August 20, 2013 at 2:15 pm

    Thank you! It helped me a lot!

    Reply
  2. lesovsky says

    October 7, 2013 at 8:53 pm

    Use subscription-manager command line tool:

    # subscription-manager unregister
    Reply
    • Ben says

      July 9, 2014 at 6:52 pm

      Regarding subscription manager, only if you are using Red Hat Subscription Management as opposed to RHN Satellite. For RHEL5 subscription-manager will not be installed by default but can be via yum.

      Reply
  3. Mateen says

    September 15, 2014 at 7:59 pm

    Guys,

    need help!

    how can i delete duplicated registered systems on satellite through command line,

    i know i can delete them from satellite GUI but i’m looking for command.

    Reply

Leave a Reply Cancel reply

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

Get a wealth of information delivered to your inbox. Subscribe and never miss a single article.

  • Tutorials and howtos
  • Code, scripts and commands
  • Online Tools

* No spam, unsubscribe anytime

Hire Me

  • SSL installation and hardening (A+ on Qualys SSL test)
  • Apache & Nginx configuration
  • Email deliverability improvement (10/10 on Mail Tester & MailGenius)
  • WordPress customization, optimization and migration
  • and much more…

    Tools

    • DNS Lookup Tool
    • htdigest Generator Tool Online
    • htpasswd Generator Tool Online
    • HTTP Headers Lookup Tool
    • MD5 Encryption Tool
    • Open Port Check Tool
    • SHA-1 Encryption Tool
    • URL Encoding/Decoding Tool

    Nav

    • Home
    • About Me
    • Contact Me
    • Privacy Policy
    • Sitemap
    Vultr SSD VPS

    Creative Commons License
    Jesin's Blog by Jesin A is licensed under a Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International License.
    Based on a work at websistent.com.