[SunHELP] Killing default services, fixing tar, and installing pkg's ...

Joe Pampel joe at ardsley.com
Wed Oct 30 14:08:14 CST 2002


you can stop some of the services in /etc/inetd.conf  just comment out the
line that
launches the thing. If you really don't want them around, remove the binary
itself..
To find out which service uses a port, you might want to install lsof.  I find
it's a good
"lockdown" tool.. for ex below, you have port 898 open and "unknown".. if lsof
was
on there you'd type lsof -i :898   and it would find the process which opened
that port.. and
then you can go kill it. :)


>>> "Joe Stump" <joe at joestump.net> 10/30/02 02:23PM >>>
I just finished my default install of Solaris 9 (yay!). Now I'm working on
getting things installed, uninstalled, etc. I have a few questions. Keep in
mind all of this is being done via console - this is a headless server.

1.) First of all I need to lock things down a little bit ... Here is my
current nmap output
22/tcp     open        ssh
25/tcp     open        smtp                                (usr/lib/sendmail
IIRC.. just kill the RC scripts that start it or del the binary..)
111/tcp    open        sunrpc                            (etc/inetdd.conf)
587/tcp    open        submission
898/tcp    open        unknown
4045/tcp   open        lockd
7100/tcp   open        font-service                   (inetd.conf)
32774/tcp  open        sometimes-rpc11          ""
32775/tcp  open        sometimes-rpc13
32776/tcp  open        sometimes-rpc15
32777/tcp  open        sometimes-rpc17
32778/tcp  open        sometimes-rpc19
32779/tcp  open        sometimes-rpc21
32780/tcp  open        sometimes-rpc23
32786/tcp  open        sometimes-rpc25
32787/tcp  open        sometimes-rpc27

I currently only need ssh, mysql, and the ability to mount NFS shares from
other boxes on this particular server. How/where do I kill all of these
services?

2.) I've heard that Sun's tar is no good - where do I go to get a different
one?

3.) I need to install nmap and wget - where do I get it and how do you
install
them? Are they on the cdrom? Dare I ask how to mount the cdrom?

My main background is Linux and BSD's - so translations are welcome :)

--Joe

--
Joe Stump
http://www.joestump.net
_______________________________________________
SunHELP maillist  -  SunHELP at sunhelp.org
http://www.sunhelp.org/mailman/listinfo/sunhelp



More information about the SunHELP mailing list