From owner-freebsd-questions Mon Nov 4 18:50: 8 2002 Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 58FA337B401 for ; Mon, 4 Nov 2002 18:50:06 -0800 (PST) Received: from rtk1.rtk.net.pl (rtk1.rtk.net.pl [217.97.232.2]) by mx1.FreeBSD.org (Postfix) with ESMTP id A276443E3B for ; Mon, 4 Nov 2002 18:50:04 -0800 (PST) (envelope-from yhpx@alpha.net.pl) Received: from pablo-1.rtk-local ([192.168.103.119] helo=ember.blah) by rtk1.rtk.net.pl with smtp (Exim 3.12 #1 (Debian)) id 188tn6-0006pN-00 for ; Tue, 05 Nov 2002 03:50:08 +0100 Received: (qmail 2992 invoked by uid 1001); 5 Nov 2002 02:49:41 -0000 Date: Tue, 5 Nov 2002 03:49:41 +0100 From: Dominik Lupinski To: "Ivan S. Anisimov" Cc: freebsd-questions@FreeBSD.ORG Subject: Re: csh conf Message-ID: <20021105034940.A2881@ember.blah> References: <20021104203209.52758.qmail@web13905.mail.yahoo.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <20021104203209.52758.qmail@web13905.mail.yahoo.com>; from anisimov@yahoo.com on Mon, Nov 04, 2002 at 12:32:09PM -0800 Organization: --t-r-a-n-s-h-u-m-a-n-s--> X-Operating-System: FreeBSD 4.7-STABLE X-PGP-key: http://venus.wsb-nlu.edu.pl/~dlupinsk/yhpx.asc Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Mon, Nov 04, 2002 at 12:32:09PM -0800, Ivan S. Anisimov wrote: > Please help: when I try to login via a dialin tty, > host issues 'logout' immediately after > authentification. Looks like admin of the host done > something like > set a=`tty` > if ($a == '/dev/ttyd0') then > logout > endif > in one of csh scripts. > I've checked all user-readable files (/etc/csh.cshrc, > /etc/csh.login, /etc/csh.logout, ~/.login, ~/.profile > etc.) for stuff like that. Nothing. Changing shell to > bash solves this problem, still I would like to find > out, where this 'logout' lives. Any ideas? You may always make yourself sure if you checked all 'magic' files by: grep -r logout /path -- 0A 0D 0A 2D 2D 20 0D 0A 44 6F 6D 69 6E 69 6B 20 ...-- ..Dominik 4C 75 70 69 6E 73 6B 69 20 2F 2F 20 79 68 70 78 Lupinski // yhpx 40 61 6C 70 68 61 2E 6E 65 74 2E 70 6C 0D 0A 2E @alpha.net.pl... To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message