From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: gschmid@notes.cc.sunysb.edu Newsgroups: gmane.os.tru64.managers Subject: SUMMARY: Disabling specific ports/services Date: Fri, 27 Dec 2002 16:17:42 -0500 Sender: tru64-unix-managers-owner@ornl.gov Message-ID: NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: main.gmane.org 1041023857 9346 80.91.224.249 (27 Dec 2002 21:17:37 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Fri, 27 Dec 2002 21:17:37 +0000 (UTC) Return-path: Original-Received: from sws1.ctd.ornl.gov ([160.91.20.101]) by main.gmane.org with smtp (Exim 3.35 #1 (Debian)) id 18S1rL-0002QJ-00 for ; Fri, 27 Dec 2002 22:17:35 +0100 Original-Received: (qmail 18404 invoked by uid 5); 27 Dec 2002 21:18:05 -0000 Original-Followup-To: poster Precedence: bulk Original-Received: (qmail 18395 invoked by uid 49493); 27 Dec 2002 21:18:05 -0000 Original-Received: from gschmid@notes.cc.sunysb.edu by sws1 by uid 49491 with qmail-scanner-1.14 (clamscan: 0.54. spamassassin: 2.50-cvs. Clear:SA:0(-0.4/5.0):. Processed in 0.345712 secs); 27 Dec 2002 21:18:05 -0000 Original-Received: from unknown (HELO emroute3.ornl.gov) (160.91.4.110) by 0 with SMTP; 27 Dec 2002 21:18:05 -0000 Original-Received: from emroute3.ornl.gov (localhost [127.0.0.1]) by emroute3.ornl.gov (PMDF V6.1-1 #39060) with ESMTP id <0H7S0050XR62EG@emroute3.ornl.gov> for tru64-unix-managers@sws1.ctd.ornl.gov (ORCPT tru64-unix-managers@ornl.gov) ; Fri, 27 Dec 2002 16:18:04 -0500 (EST) Original-Received: from nmta.cc.sunysb.edu (nmta.cc.stonybrook.edu [129.49.2.77]) by emroute3.ornl.gov (PMDF V6.1-1 #39060) with ESMTP id <0H7S0051RR5KG2@emroute3.ornl.gov> for tru64-unix-managers@sws1.ctd.ornl.gov (ORCPT tru64-unix-managers@ornl.gov) ; Fri, 27 Dec 2002 16:17:44 -0500 (EST) Original-To: tru64-unix-managers@ornl.gov X-Mailer: Lotus Notes Release 5.0.4a July 24, 2000 X-MIMETrack: Serialize by Router on nmta.cc.sunysb.edu/DoIT(Release 5.0.11 |July 24, 2002) at 12/27/2002 04:17:44 PM Xref: main.gmane.org gmane.os.tru64.managers:2806 X-Report-Spam: http://spam.gmane.org/gmane.os.tru64.managers:2806 Many thanks to Dan G., Joseph S. & Martin A., all of whom said "use lsof", which I've downloaded, installed, and used to find out most of what I needed to know. When looking for specific port numbers this command was most useful: # lsof -i : Thanks guys & have a great new year. =-=-=-=-=-=-=-=-=-=-=-=- Original post: =-=-=-=-=-=-=-=-=-=-=-=- I need to disable some ports on my V5.1A box, but I'm having difficulty finding which daemons use them. I have searched the /etc/inetd.conf, /etc/services & /etc/rpc files and cannot find which daemons/processes use the following ports & svcs: 316 decauth 596 smsd 1024 kdm 1029 in-command 2301 cpq-wbem 2840 l3-exprt 3354 suitjd 3457 vat-control 3459 integral So my questions are: 1. How do I determine which daemons/processes are using these ports? 2. How do I disable them? (I'm guessing when #1 is answered, I can figure out #2) 3. Where are these documented???? (So I can figure out what will break when I disable them.)