From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: "Dr. Martin =?iso-8859-1?b?S/ZyZmVy?=" Newsgroups: gmane.os.tru64.managers Subject: final summary:nologin-exception Date: Mon, 13 Dec 2004 15:12:16 +0100 Message-ID: <1102947136.41bda340c4a70@gemini.mpch-mainz.mpg.de> NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8BIT X-Trace: sea.gmane.org 1102947419 18203 80.91.229.6 (13 Dec 2004 14:16:59 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Mon, 13 Dec 2004 14:16:59 +0000 (UTC) Original-X-From: tru64-unix-managers-owner-gotm-tru64-unix-managers=m.gmane.org@sws1.ctd.ornl.gov Mon Dec 13 15:16:53 2004 Return-path: Original-Received: from sws1.ornl.gov ([160.91.1.101]) by deer.gmane.org with smtp (Exim 3.35 #1 (Debian)) id 1Cdr0O-0006Ym-00 for ; Mon, 13 Dec 2004 15:16:53 +0100 Original-Received: (qmail 27844 invoked by uid 5); 13 Dec 2004 14:16:08 -0000 Original-Sender: tru64-unix-managers-owner@ornl.gov Original-Followup-To: poster Precedence: bulk Original-Received: (qmail 27828 invoked by uid 49501); 13 Dec 2004 14:16:08 -0000 Original-Received: from koerfer@mpch-mainz.mpg.de by sws1 by uid 49491 with qmail-scanner-1.21 (clamdscan: 0.70-rc. iscan: v3.1/v5.600-1011/847/50540. spamassassin: 2.63. Clear:RC:0(160.91.4.119):SA:0(-2.6/5.0):. Processed in 1.69074 secs); 13 Dec 2004 14:16:08 -0000 Original-Received: from unknown (HELO emroute1.cind.ornl.gov) (160.91.4.119) by 0 with SMTP; 13 Dec 2004 14:16:06 -0000 Original-Received: from emroute1.cind.ornl.gov (localhost [127.0.0.1]) by emroute1.cind.ornl.gov (PMDF V6.2-X27 #30899) with ESMTP id <0I8N003AUZMS8X@emroute1.cind.ornl.gov> for tru64-unix-managers@sws1.ctd.ornl.gov (ORCPT tru64-unix-managers@ornl.gov) ; Mon, 13 Dec 2004 09:16:05 -0500 (EST) Original-Received: from VIRUSCAN-DAEMON.emroute1.cind.ornl.gov by emroute1.cind.ornl.gov (PMDF V6.2-X27 #30899) id <0I8N00502ZMD6K@emroute1.cind.ornl.gov> for tru64-unix-managers@sws1.ctd.ornl.gov (ORCPT tru64-unix-managers@ornl.gov) ; Mon, 13 Dec 2004 09:15:55 -0500 (EST) Original-Received: from mpch01.mpch-mainz.mpg.de (mpch01.mpch-mainz.mpg.de [192.67.218.34]) by emroute1.cind.ornl.gov (PMDF V6.2-X27 #30899) with ESMTP id <0I8N00436ZMCH1@emroute1.cind.ornl.gov> for tru64-unix-managers@sws1.ctd.ornl.gov (ORCPT tru64-unix-managers@ornl.gov) ; Mon, 13 Dec 2004 09:15:49 -0500 (EST) Original-Received: (from root@localhost) by mpch01.mpch-mainz.mpg.de (8.12.9/8.12.9) id iBDEFlnx158068 for tru64-unix-managers@ornl.gov; Mon, 13 Dec 2004 15:15:47 +0100 (MET) Original-Received: from gemini.mpch-mainz.mpg.de (terra.mpch-mainz.mpg.de [141.5.0.17]) by mpch01.mpch-mainz.mpg.de (8.12.9/8.12.9) with ESMTP id iBDEFf8a158020 for ; Mon, 13 Dec 2004 15:15:41 +0100 (MET) Original-Received: (from httpd@localhost) by gemini.mpch-mainz.mpg.de (8.12.11/) id iBDECH8x565271 for tru64-unix-managers@ornl.gov; Mon, 13 Dec 2004 15:12:17 +0100 (MET) Original-Received: from pedali.mpch-mainz.mpg.de (pedali.mpch-mainz.mpg.de [141.5.0.84]) by gemini.mpch-mainz.mpg.de (IMP) with HTTP for ; Mon, 13 Dec 2004 15:12:16 +0100 X-Originating-IP: 141.5.0.84 Original-To: tru64-unix-managers@ornl.gov User-Agent: Internet Messaging Program (IMP) 3.2.3 X-Envelope-From: X-ORNL-Envelope-To: tru64-unix-managers@sws1.ctd.ornl.gov rfc822;tru64-unix-managers@ornl.gov X-Virus-Scanned: by AMaViS perl-11 X-Authentication-warning: terra.mpch-mainz.mpg.de: httpd set sender to koerfer@mpch-mainz.mpg.de using -f Xref: main.gmane.org gmane.os.tru64.managers:7859 X-Report-Spam: http://spam.gmane.org/gmane.os.tru64.managers:7859 Very simple solution, as I run the webmail-service on a 2 node cluster using the Apache-Webserver (on secure port 443), I needed to define thr SSL Virtual Host Context in the httpd.conf. Here I determined as Servername the name of the "cluster-alias". Now creating /etc/nologin_$host1 and ..._$host2, users are not able to login through ssh or telnet (even when using the "cluster-alias" the hostname of the login-host1 or ..2 is determined !) The https uses the "cluster-alias", wherefor login is not permitted !! Fine Martin Only one usefull answer from Piotr Grzybowski: ------------------------------------------------------------------ maybe try play with /etc/nologin_${hostname} and try to explain to the imap servers and http deamon that they should use a different hostname than that in ${hostname}. ---------------------------------------------------------------------- A good hint, thus: May be I can create an if-statement in the "/sbin/enlogin"-script that login through "httpd" causes to use another hostname. The only difficulty is to determine a matching criterium, as their are always several httpd's running. Open for ideas, I will report, Martin On Thu, 9 Dec 2004, Martin Koerfer wrote: > Date: Thu, 09 Dec 2004 13:09:01 +0100 > From: Martin Koerfer > To: tru64-unix-managers@ornl.gov > Followup-To: poster > Subject: nologin-exception > > Hi managers, > > we run Tru64 V5.1a(PK6), basic security, on an AS that is configuered with > /etc/nologin, in order to prevent "user-access". > Now we want to grant access only to "users" that want to access the imap-service > for checking their mail with an "webmail"-application. > Do you know a way to grant access for users that use a special service only by > keeping the general "nologin"-conditions ?? > > Any help would be appreciated > > Thanks in advance > > Martin Körfer > ------------------------------------------------- This mail sent through IMP: www1.mpch-mainz.mpg.de ------------------------------------------------- This mail sent through IMP: http://horde.org/imp/