We help IT Professionals succeed at work.

Stop sendmail service

Medium Priority
Last Modified: 2013-12-27
In Linux either I type setup in command line...it will prompt dos based gui and i can disable the sendmail service from auto run on boot...but how to disable some service in solaris8? such as ssh, ftp and sendmail?
Watch Question

in /etc/rc2.d you will see the startup script for sendmail, simply rename it
mv /etc/rc2.d/S88sendmail /etc/rc2.d/not88sendmail
That will prevent it from starting on the next boot
simply running
/etc/rc2.d/S88sendmail stop
will stop it
ftp / telnet and sometimes ssh are a bit different.  They are spawned from inetd.
So you need to comment them out of /etc/inetd.conf and then restart inetd
Services should either be started via inetd, or from startup scripts in /etc/rc2.d and /etc/rc3.d

Not the solution you were looking for? Getting a personalized solution is easy.

Ask the Experts


i found this in my solaris8....which one need to be rename?


there should be one in rc2.d
the K scripts stop sendmail as the system is coming down.
the init.d script is the actual start / stop script and /etc/rc2.d/S88sendmail is often linked to that.  What is in rc2.d?


oh ya...i found it K88sendmail in rc2.d...sorry..ok thanks a lot..i got it
Access more of Experts Exchange with a free account
Thanks for using Experts Exchange.

Create a free account to continue.

Limited access with a free account allows you to:

  • View three pieces of content (articles, solutions, posts, and videos)
  • Ask the experts questions (counted toward content limit)
  • Customize your dashboard and profile

*This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.


Please enter a first name

Please enter a last name

8+ characters (letters, numbers, and a symbol)

By clicking, you agree to the Terms of Use and Privacy Policy.