From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Ash Lereth Newsgroups: gmane.os.tru64.managers Subject: SUMMARY: Disable Remote Logins on DEC Alpha OSF1 Date: Thu, 27 Jul 2006 14:34:01 -0400 Message-ID: <3e2cc87e0607271134q1a5f86edy31aa91f38ec2dc18@mail.gmail.com> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; format=flowed; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1154025275 5387 80.91.229.2 (27 Jul 2006 18:34:35 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Thu, 27 Jul 2006 18:34:35 +0000 (UTC) Original-X-From: tru64-unix-managers-owner-gotm-tru64-unix-managers=m.gmane.org@sws1.ctd.ornl.gov Thu Jul 27 20:34:33 2006 Return-path: Envelope-to: gotm-tru64-unix-managers@gmane.org Original-Received: from sws1.ornl.gov ([160.91.1.101]) by ciao.gmane.org with smtp (Exim 4.43) id 1G6Agl-0002uW-K2 for gotm-tru64-unix-managers@gmane.org; Thu, 27 Jul 2006 20:34:30 +0200 Original-Received: (qmail 8902 invoked by uid 49509); 27 Jul 2006 18:34:07 -0000 Original-Sender: tru64-unix-managers-owner@ornl.gov Original-Followup-To: poster Precedence: bulk Original-Received: (qmail 8888 invoked from network); 27 Jul 2006 18:34:07 -0000 Original-Received: from emroute4.ornl.gov (160.91.86.27) by sws1.ornl.gov with SMTP; 27 Jul 2006 18:34:07 -0000 Original-Received: from emroute4.ornl.gov (localhost [127.0.0.1]) by emroute4.ornl.gov (PMDF V6.2-1x9 #31038) with ESMTP id <0J3200CMPRKUBE@emroute4.ornl.gov> for tru64-unix-managers@sws1.ctd.ornl.gov (ORCPT tru64-unix-managers@ornl.gov) ; Thu, 27 Jul 2006 14:34:07 -0400 (EDT) Original-Received: from VIRUSCAN-DAEMON.emroute4.ornl.gov by emroute4.ornl.gov (PMDF V6.2-1x9 #31038) id <0J3200F02RKSCP@emroute4.ornl.gov> for tru64-unix-managers@sws1.ctd.ornl.gov (ORCPT tru64-unix-managers@ornl.gov) ; Thu, 27 Jul 2006 14:34:06 -0400 (EDT) Original-Received: from ug-out-1314.google.com (ug-out-1314.google.com [66.249.92.169]) by emroute4.ornl.gov (PMDF V6.2-1x9 #31038) with ESMTP id <0J3200DFVRKQS4@emroute4.ornl.gov> for tru64-unix-managers@sws1.ctd.ornl.gov (ORCPT tru64-unix-managers@ornl.gov) ; Thu, 27 Jul 2006 14:34:04 -0400 (EDT) Original-Received: by ug-out-1314.google.com with SMTP id c2so398005ugf for ; Thu, 27 Jul 2006 11:34:01 -0700 (PDT) Original-Received: by 10.67.93.7 with SMTP id v7mr7554058ugl; Thu, 27 Jul 2006 11:34:01 -0700 (PDT) Original-Received: by 10.67.16.8 with HTTP; Thu, 27 Jul 2006 11:34:01 -0700 (PDT) Original-To: tru64-unix-managers@ornl.gov X-Envelope-from: doagie@gmail.com Content-disposition: inline DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition; b=g6/Am6kI3aUDeMy36EDnYD7d2vzjbadqmKB7o0TsIO6XeBHPxA8j7+UTvQzNaSOM7zt9q9R7vEFXS3CjuehslloBQEKHZi/DFZG42MZ7Y/zLR2J4+rMfvje5oScCMZH2cUkutuRQ4bhjEXIar2kZB+QC4YZK47Z4wQ8vgVNVDgg= X-Spam-Virus: No X-Spam-Checker-Version: SpamAssassin 3.1.3 (2006-06-01) on email.ornl.gov X-Spam-Level: X-Spam-Status: No, score=-0.9 required=5.0 tests=AWL,BAYES_00,DK_SIGNED, SPF_PASS autolearn=ham version=3.1.3 Xref: news.gmane.org gmane.os.tru64.managers:8974 Archived-At: The original question: Does anyone know how to disable remote *ROOT* logins on a DEC Alpha OSF1 4.0 Machine? One thing online says to edit the system /etc/inetd.conf and "remove or comment out the lines for remote login, remote command execution, and file transfer daemons such as telnetd, rlogind, remshd, rexecd, ftpd, and tftpd." I've done all of these, but can still login as ROOT remotely. Any suggestions? The answer: Edit /etc/securettys, and make sure only the following lines exist, /dev/console local:0 :0 taking care to remove the line "ptys" For SSH, Edit /etc/ssh/sshd_config, and set PermitRootLogin to "No" To stop the listed inetd services, "kill -HUP " Thanks everyone who contributed! On 7/26/06, Ash Lereth wrote: > Hello, > > Does anyone know how to disable remote *ROOT* logins on a DEC Alpha > OSF1 4.0 Machine? One thing online says to edit the system > /etc/inetd.conf and "remove or comment out the lines for remote login, > remote command execution, and file transfer daemons such as telnetd, > rlogind, remshd, rexecd, ftpd, and tftpd." I've done all of these, but > can still login as ROOT remotely. Any suggestions? > > Thanks! > doagie@gmail.com >