From owner-freebsd-questions@FreeBSD.ORG Sat Mar 4 16:02:42 2006 Return-Path: X-Original-To: freebsd-questions@freebsd.org 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 1E8CC16A420 for ; Sat, 4 Mar 2006 16:02:42 +0000 (GMT) (envelope-from keramida@ceid.upatras.gr) Received: from igloo.linux.gr (igloo.linux.gr [62.1.205.36]) by mx1.FreeBSD.org (Postfix) with ESMTP id 976FF43D6A for ; Sat, 4 Mar 2006 16:02:35 +0000 (GMT) (envelope-from keramida@ceid.upatras.gr) Received: from flame.pc (patr530-a188.otenet.gr [212.205.215.188]) (authenticated bits=128) by igloo.linux.gr (8.13.5/8.13.5/Debian-3) with ESMTP id k24G2IoR025876 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT); Sat, 4 Mar 2006 18:02:21 +0200 Received: from flame.pc (flame [127.0.0.1]) by flame.pc (8.13.4/8.13.4) with ESMTP id k24G1YDQ034738; Sat, 4 Mar 2006 18:01:34 +0200 (EET) (envelope-from keramida@ceid.upatras.gr) Received: (from keramida@localhost) by flame.pc (8.13.4/8.13.4/Submit) id k24G1YAx034737; Sat, 4 Mar 2006 18:01:34 +0200 (EET) (envelope-from keramida@ceid.upatras.gr) Date: Sat, 4 Mar 2006 18:01:34 +0200 From: Giorgos Keramidas To: Kovesdan Gabor Message-ID: <20060304160134.GA34673@flame.pc> References: <4408D4D3.4030102@t-hosting.hu> <20060304000640.GA26726@flame.pc> <44094903.8080006@t-hosting.hu> <20060304145809.GA33965@flame.pc> <4409B8A0.40501@t-hosting.hu> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <4409B8A0.40501@t-hosting.hu> X-Hellug-MailScanner: Found to be clean X-Hellug-MailScanner-SpamCheck: not spam, SpamAssassin (score=-3.325, required 5, autolearn=not spam, ALL_TRUSTED -1.80, AWL 0.87, BAYES_00 -2.60, DNS_FROM_RFC_ABUSE 0.20) X-Hellug-MailScanner-From: keramida@ceid.upatras.gr Cc: freebsd-questions@freebsd.org Subject: Re: Where am I? :) X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 04 Mar 2006 16:02:42 -0000 On 2006-03-04 16:56, Kovesdan Gabor wrote: >Giorgos Keramidas wrote: >> What is your method? I haven't seen any description of how >> *you* ended up not being logged in. Are you using screen(1) >> or another program that tweaks /var/log/wtmp? Which program? >> Have you found out why your login seems record in wtmp was >> marked as logged out? > > Here's my method: > > http://www.freebsd.org/cgi/query-pr.cgi?pr=94060 Ah, I see now. Thanks :) >> What a bug about this would report is that set-user-id >> programs, like screen(1), can do all sorts of nasty things if >> abused. This isn't exactly a bug, but common knowledge. > > /bin/login is suid, too. Can't screen and login be modified > somehow to take care of this issue? login is part of the base system so it should be fixed, if possible. `screen' is a thirdparty program and the feature *is* deliberate, but I think it can be disabled by running screen as non-suid root.