How to disable smcboot server

Hi All,

How to disable the smcboot services on the Solaris 9 sparc server, will it affect other services running on the systems. Is there any dependency of that on other services. This service is showing as Medium level in our vulnerability scan runing on port 898. Due to this, I want to disable the service. How it can be done.

Who is Participating?
AmolConnect With a Mentor Commented:
To stop the service, use below command,

# /etc/init.d/init.wbem stop

To start the service, user below command,

# /etc/init.d/init.wbem start
APNFSSCConnect With a Mentor Commented:
Solaris Management Console configuration takes place when the Java-based server
daemon is started, but that daemon is started upon the first connection from the
console, NOT at system bootup.  Therefore, a small proxy server (called smcboot)
must be running to receive that first connection.

   The proxy server smcboot is a native program that starts during system boot
   and sits on the Solaris Management Console server port (default is 898)
   waiting for a connection from the console.  After system boot, you will not
   see any JVM's running relative to Solaris Management Console.  Instead, you
   will see two instances of smcboot processes - one (the parent) on port 898,
   and another (the child) on port 5987.

solution: disable smcboot in /etc/inetd.conf by putting a # in front of it's line.
Joseph GanConnect With a Mentor System AdminCommented:
Disable /etc/rc2.d/S90wbem.
Protect Your Employees from Wi-Fi Threats

As Wi-Fi growth and popularity continues to climb, not everyone understands the risks that come with connecting to public Wi-Fi or even offering Wi-Fi to employees, visitors and guests. Download the resource kit to make sure your safe wherever business takes you!

virgo0880Author Commented:
I dont see smcboot entry in /etc/inetd.conf. But as ganjos is saying that we have to disable the script, i.e. you mean to say that the execute permission should be removed from that script right. Also, if i kill that service directly, will it impact any other services on the server as this is the production server.

no it wont affect anything it's used as a proxy so you can access the server via the sun management console.

You can just delete the file, it's probably a symbolic link to the real file in /etc/init.d/
jeremycrussellConnect With a Mentor Commented:
SMC is also started via rc script.

Look for /etc/rc2.d/S90wbem and either delete it, or disable it by renaming is with something other than "S" as the first letter...  ie

mkdir /etc/rc2.d/.diabled
mv /etc/rc2.d/S90wbem /etc/rc2.d/.disabled/

Open in new window


mv /etc/rc2.d/S90wbem /etc/rc2.d/XS90wbem

Open in new window

Joseph GanSystem AdminCommented:
Disable it I meant rename it or move it to a sub-directory, just in case.
virgo0880Author Commented:
Sorry for the delay in answering the thread, I was out of station.

Is there any way to stop the service during boot up instead of moving the startup script to something else ?
Joseph GanSystem AdminCommented:
The only way prevent it to start up during the booting process is to remove the startup script. Otherwise, after the process started, you have to manually stop it. Or put a cron job to stop it.
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.