<?xml version="1.0"?>
<!DOCTYPE chapter PUBLIC "-//OASIS//DTD DocBook XML V4.3//EN"
	"http://www.oasis-open.org/docbook/xml/4.3/docbookx.dtd">
<chapter id="feature-subscription">
  <title>Subscription Manager</title>

  <para>Cockpit can use
    <ulink url="https://www.candlepinproject.org/">Subscription Manager</ulink> to join the
    attach the machine to a subscription, if the operating system (such as RHEL) requires this. This
    functionality is in the Cockpit <emphasis>subscriptions</emphasis> package.</para>

  <para>Subscription Manager limits its use to root only. Therefore if a non-root user
    is logged into Cockpit, Cockpit tries to <link linkend="privileges">escalate privileges</link>
    to root in order to access subscription information or make changes.</para>

  <para>To perform similar tasks from the command line, use the
    <ulink url="https://linux.die.net/man/8/subscription-manager"><code>subscription-manager</code></ulink>
    tool:</para>

<programlisting>
$ <command>sudo subscription-manager status</command>
+-------------------------------------------+
   System Status Details
+-------------------------------------------+
...
</programlisting>

</chapter>
