<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
  <channel>
    <title>Administration on Shafiq Alibhai</title>
    <link>https://www.shafiq.in/zh/tags/administration/</link>
    <description>Recent content in Administration on Shafiq Alibhai</description>
    <generator>Hugo</generator>
    <language>zh-CN</language>
    <copyright>© 2009-2026 All rights reserved.</copyright>
    <lastBuildDate>Mon, 23 May 2011 16:57:14 +0000</lastBuildDate>
    <atom:link href="https://www.shafiq.in/zh/tags/administration/index.xml" rel="self" type="application/rss+xml" />
    <item>
      <title>Disable services in Solaris 10</title>
      <link>https://www.shafiq.in/zh/blog/disable-services-in-solaris-10/</link>
      <pubDate>Mon, 23 May 2011 16:57:14 +0000</pubDate>
      <guid>https://www.shafiq.in/zh/blog/disable-services-in-solaris-10/</guid>
      <description>&lt;p&gt;To disable a service, you must be root or have sudo privileges.&lt;/p&gt;&#xA;&lt;p&gt;For example, to disable the Puppet service, you would run the following command:&lt;/p&gt;&#xA;&lt;div class=&#34;highlight&#34;&gt;&lt;pre tabindex=&#34;0&#34; class=&#34;chroma&#34;&gt;&lt;code class=&#34;language-bash&#34; data-lang=&#34;bash&#34;&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;svcadm disable network/cswpuppetd:default&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;p&gt;This will disable the Puppet service and prevent it from running.&lt;/p&gt;&#xA;&lt;p&gt;To verify that the service has been disabled, you can run the following command:&lt;/p&gt;&#xA;&lt;div class=&#34;highlight&#34;&gt;&lt;pre tabindex=&#34;0&#34; class=&#34;chroma&#34;&gt;&lt;code class=&#34;language-bash&#34; data-lang=&#34;bash&#34;&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;svcs &lt;span class=&#34;p&#34;&gt;|&lt;/span&gt; grep puppet&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;p&gt;This will list all of the services that are currently running, and if the Puppet service is disabled, it will not be listed.&lt;/p&gt;</description>
    </item>
  </channel>
</rss>
