From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Jonathan Williams Newsgroups: gmane.os.tru64.managers Subject: Disabling r* commands Date: Thu, 26 Sep 2002 16:19:55 -0400 Sender: tru64-unix-managers-owner@ornl.gov Message-ID: <017801c2659a$1426c7d0$8315000a@shubertorg.com> References: <3D936B4F.2020209@microway.com> NNTP-Posting-Host: localhost.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 7bit X-Trace: main.gmane.org 1033071643 5322 127.0.0.1 (26 Sep 2002 20:20:43 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Thu, 26 Sep 2002 20:20:43 +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 17uf7o-0001NQ-00 for ; Thu, 26 Sep 2002 22:20:41 +0200 Original-Received: (qmail 17687 invoked by uid 5); 26 Sep 2002 20:20:39 -0000 Original-Followup-To: poster Precedence: bulk Original-Received: (qmail 17678 invoked by uid 49493); 26 Sep 2002 20:20:39 -0000 Original-Received: from jonathw@shubertorg.com by sws1 by uid 49491 with qmail-scanner-1.14 (clamscan: 0.24. spamassassin: 2.50-cvs. Clear:SA:0(1.8/5.0):. Processed in 0.372308 secs); 26 Sep 2002 20:20:39 -0000 Original-Received: from unknown (HELO emroute2.cind.ornl.gov) (128.219.159.41) by 0 with SMTP; 26 Sep 2002 20:20:39 -0000 Original-Received: from emroute2.cind.ornl.gov (LOCALHOST [127.0.0.1]) by emroute2.cind.ornl.gov (PMDF V6.1-1 #39060) with ESMTP id <0H32001JHB6D7B@emroute2.cind.ornl.gov> for tru64-unix-managers@sws1.ctd.ornl.gov (ORCPT Tru64-Unix-Managers@ornl.gov) ; Thu, 26 Sep 2002 16:20:38 -0400 (EDT) Original-Received: from mailhost.Shubertorg.com ([207.246.208.40]) by emroute2.cind.ornl.gov (PMDF V6.1-1 #39060) with ESMTP id <0H32001IVB6A8C@emroute2.cind.ornl.gov> for tru64-unix-managers@sws1.ctd.ornl.gov (ORCPT Tru64-Unix-Managers@ornl.gov) ; Thu, 26 Sep 2002 16:20:35 -0400 (EDT) Original-Received: from memnoch [207.238.217.205] by mailhost.Shubertorg.com (SMTPD32-7.12) id AED021EE013C; Thu, 26 Sep 2002 16:32:16 -0400 Original-To: "tru64-unix-managers@ornl.gov" X-MIMEOLE: Produced By Microsoft MimeOLE V6.00.2600.0000 X-Mailer: Microsoft Outlook Express 6.00.2600.0000 X-Priority: 3 X-MSMail-priority: Normal Xref: main.gmane.org gmane.os.tru64.managers:1874 X-Report-Spam: http://spam.gmane.org/gmane.os.tru64.managers:1874 Hi. I'm trying to disable the r commands (rlogin, rsh, rexec) on our Tru64 5.1 and 5.1a systems. I'm only doing testing with a 5.1a system. I searched around and read that all I would need to do in order to disable these services is comment out the appropriate lines in the /etc/inetd.conf file. So I commented out these three lines: shell stream tcp nowait root /usr/sbin/rshd rshd login stream tcp nowait root /usr/sbin/rlogind rlogind exec stream tcp nowait root /usr/sbin/rexecd rexecd I restarted the inetd service...and then even rebooted the machine. But I'm still able to use these commands successfully. Is what I read incorrect? Is there a better way to disable these commands (or better yet...is there a way to disable these commands?) I searched on the mailing list archives, and found a bunch of people asking this same question, but I could not find the summaries of these topics. Any help would be greatly appreciated. TIA Jonathan Williams Unix Systems Administrator The Shubert Organization, Inc.