From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Ashwin Milind Purohit Newsgroups: gmane.os.tru64.managers Subject: Disabling logins except for specific IPs Date: Thu, 27 Jul 2006 12:07:11 -0700 (PDT) Message-ID: <200607271907.k6RJ7BTU013633@elaine2.Stanford.EDU> NNTP-Posting-Host: main.gmane.org X-Trace: sea.gmane.org 1154027272 18153 80.91.229.2 (27 Jul 2006 19:07:52 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Thu, 27 Jul 2006 19:07:52 +0000 (UTC) Original-X-From: tru64-unix-managers-owner-gotm-tru64-unix-managers=m.gmane.org@sws1.ctd.ornl.gov Thu Jul 27 21:07:51 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 1G6BCw-0003TU-BZ for gotm-tru64-unix-managers@gmane.org; Thu, 27 Jul 2006 21:07:42 +0200 Original-Received: (qmail 16543 invoked by uid 49509); 27 Jul 2006 19:07:24 -0000 Original-Sender: tru64-unix-managers-owner@ornl.gov Original-Followup-To: poster Precedence: bulk Original-Received: (qmail 16533 invoked by uid 49501); 27 Jul 2006 19:07:24 -0000 Original-Received: from 160.91.4.119 by sws1 (envelope-from , uid 49491) with qmail-scanner-1.25 (clamdscan: 0.83/743. spamassassin: 3.0.2. Clear:RC:0(160.91.4.119):SA:0(-2.5/5.0):. Processed in 0.236993 secs); 27 Jul 2006 19:07:24 -0000 X-Spam-Status: No, hits=-2.5 required=5.0 Original-Received: from emroute1.ornl.gov (160.91.4.119) by sws1.ornl.gov with SMTP; 27 Jul 2006 19:07:23 -0000 Original-Received: from emroute1.ornl.gov (localhost [127.0.0.1]) by emroute1.ornl.gov (PMDF V6.2-1x9 #31038) with ESMTP id <0J3200J8XT4BZJ@emroute1.ornl.gov> for tru64-unix-managers@sws1.ctd.ornl.gov (ORCPT tru64-unix-managers@ornl.gov) ; Thu, 27 Jul 2006 15:07:23 -0400 (EDT) Original-Received: from VIRUSCAN-DAEMON.emroute1.ornl.gov by emroute1.ornl.gov (PMDF V6.2-1x9 #31038) id <0J3200302T43EN@emroute1.ornl.gov> for tru64-unix-managers@sws1.ctd.ornl.gov (ORCPT tru64-unix-managers@ornl.gov) ; Thu, 27 Jul 2006 15:07:23 -0400 (EDT) Original-Received: from smtp1.stanford.edu (smtp1.Stanford.EDU [171.67.22.28]) by emroute1.ornl.gov (PMDF V6.2-1x9 #31038) with ESMTP id <0J320004PT40HS@emroute1.ornl.gov> for tru64-unix-managers@sws1.ctd.ornl.gov (ORCPT tru64-unix-managers@ornl.gov) ; Thu, 27 Jul 2006 15:07:15 -0400 (EDT) Original-Received: from smtp1.stanford.edu (localhost.localdomain [127.0.0.1]) by localhost (Postfix) with SMTP id 913764C92C for ; Thu, 27 Jul 2006 12:07:12 -0700 (PDT) Original-Received: from elaine2.Stanford.EDU (elaine2.Stanford.EDU [171.64.15.67]) by smtp1.stanford.edu (Postfix) with ESMTP id F122B4C99F for ; Thu, 27 Jul 2006 12:07:11 -0700 (PDT) Original-Received: (from purohit@localhost) by elaine2.Stanford.EDU (8.12.10/8.12.9) id k6RJ7BTU013633 for tru64-unix-managers@ornl.gov; Thu, 27 Jul 2006 12:07:11 -0700 (PDT) Original-To: tru64-unix-managers@ornl.gov X-Envelope-from: purohit@stanford.edu X-Spam-Virus: No X-Spam-Checker-Version: SpamAssassin 3.1.3 (2006-06-01) on email.ornl.gov X-Spam-Level: X-Qmail-Scanner-MOVED-X-Spam-Status: No, score=-0.7 required=5.0 tests=AWL,BAYES_00,HOT_NASTY autolearn=ham version=3.1.3 Xref: news.gmane.org gmane.os.tru64.managers:8975 Archived-At: Hello all, I've got an OSF1 computer I need to secure due to computers around it being compromised. I need to disable logins for all users except from specific IP addresses of computers physically located around it, for added security measures. I want to completely cover the bases - terminal logins, SSH, you name it - I believe I have to edit the /etc/securettys file a_conf files. What I'm basically looking for is a set of lines (in all files necessary to completely secure the machine) that, in human readable code, says "Allow logins from the following IP addresses only, via terminal, SSH, and everything else: xxx.xxx.xx.xx". If anyone can let me know how to go about doing this, or point me to a how-to of some sort, that would be great! Thanks, Ashwin Purohit purohit@stanford.edu