Computing.Net > Forums > Solaris > disable services on solaris 9

Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.

disable services on solaris 9

Reply to Message Icon

Name: ingmar
Date: June 27, 2004 at 07:07:40 Pacific
OS: solaris 9 x86
CPU/Ram: Dell Optiplex GX1 P3 600
Comment:

Hi. I'm really new to linux (I made my first installation about 2 weeks ago) but thanks to all great docs online, everything has gone well.
I'm going to use the machine as a server (it's not being used as a server yet) and I want it as secure as possible. Yes, I will buy a hardware firewall in the near future, and I also plan to install IPfilter or IPchain or whatever the firewall is called. However I want to disable unnecessary services aswell. I installed ssh and tcp wrappers (i hope they are working properly :)) and disabled all services in inetd.conf. But there are still several services running.
I did a portscan on my machine and found the following ports open:
22,25,80,81,82,83,110,111,119,389,587,898
I'm not familiar with all of them 22 is ssh, and that one should be open, but 25 (and 587 aswell?) for example is sendmail, which I do not want to have open, and I havn't found out any way of disableing it..
The ports 80-83 may be some http-thing, you tell me :)
Should they be running or not? And how to disable them.
Any other tip on how to make the machine more secure is welcome, but 1st of all, answer how to close the sendmail thingie..

Thanks in advance /Ingmar



Sponsored Link
Ads by Google

Response Number 1
Name: David Perry
Date: June 29, 2004 at 04:04:12 Pacific
Reply:

Sendmail is a service started at boot time through the rc mechanism. Have a look at the /etc/rc*.d directories for startup scripts.

mv /etc/rc2.d/S88sendmail /etc/rc2.d/s88sendmail

Only scripts that start with an upper case S are started at boot time.

Have a look at the file /etc/services for a list of common services and the port numbers.


0
Reply to Message Icon

Related Posts

See More


Sunfreeware packages Keyboard problem during S...



Post Locked

This post is quite old and has been locked from receiving new replies. Please create a new posting instead.


Go to Solaris Forum Home


Sponsored links

Ads by Google


Results for: disable services on solaris 9

Can't Access FTP on Solaris 9 www.computing.net/answers/solaris/cant-access-ftp-on-solaris-9/2431.html

Install Oracle 9i on Solaris 9 www.computing.net/answers/solaris/install-oracle-9i-on-solaris-9-/2905.html

Autostart apache tomcat on Solaris 9 www.computing.net/answers/solaris/autostart-apache-tomcat-on-solaris-9/5112.html