Stop sendmail service

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?
operation1612Asked:
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

x
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

liddlerCommented:
in /etc/rc2.d you will see the startup script for sendmail, simply rename it
i.e.
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
t

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
operation1612Author Commented:
i found this in my solaris8....which one need to be rename?

/etc/rc0.d/K36sendmail
/etc/rc1.d/K36sendmail
/etc/init.d/sendmail
liddlerCommented:
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?
operation1612Author Commented:
oh ya...i found it K88sendmail in rc2.d...sorry..ok thanks a lot..i got it
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Unix OS

From novice to tech pro — start learning today.