From owner-cvs-all Thu Aug 22 23:22:11 2002 Delivered-To: cvs-all@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 3428337B401; Thu, 22 Aug 2002 23:22:01 -0700 (PDT) Received: from mailsrv.otenet.gr (mailsrv.otenet.gr [195.170.0.5]) by mx1.FreeBSD.org (Postfix) with ESMTP id AF69D43E70; Thu, 22 Aug 2002 23:21:59 -0700 (PDT) (envelope-from keramida@ceid.upatras.gr) Received: from hades.hell.gr (patr530-a151.otenet.gr [212.205.215.151]) by mailsrv.otenet.gr (8.12.4/8.12.4) with ESMTP id g7N6LrpD012306; Fri, 23 Aug 2002 09:21:57 +0300 (EEST) Received: from hades.hell.gr (hades [127.0.0.1]) by hades.hell.gr (8.12.5/8.12.5) with ESMTP id g7N6LmDs010581; Fri, 23 Aug 2002 09:21:52 +0300 (EEST) (envelope-from keramida@ceid.upatras.gr) Received: (from charon@localhost) by hades.hell.gr (8.12.5/8.12.5/Submit) id g7N4fjaX001445; Fri, 23 Aug 2002 07:41:45 +0300 (EEST) (envelope-from keramida@ceid.upatras.gr) Date: Fri, 23 Aug 2002 07:41:45 +0300 From: Giorgos Keramidas To: Dima Dorfman Cc: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: Re: cvs commit: src/usr.bin/lock lock.1 lock.c Message-ID: <20020823044145.GA784@hades.hell.gr> References: <200207280713.g6S7DrEN047591@freefall.freebsd.org> <20020728071748.66FD33E1E@turbine.trit.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20020728071748.66FD33E1E@turbine.trit.org> Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On 2002-07-28 07:17 +0000, Dima Dorfman wrote: > Dima Dorfman wrote: > > Log: > > Add a -v option that prevents switching virtual terminals while this > > terminal is locked. This permits the user to easily lock the entire > > console from a single terminal. > > Despite my requests on -audit, this wasn't reviewed by anyone. Since > lock(1) is setuid root, I would appreciate it if someone could look it > over (although none of the new code should run as root). First of all, sorry for taking so long to reply to this. I have successfully locked my current twice, by playing tricks with screen(1) and lock -v. If I run lock -v -p in a virtual screen window I get: charon@hades[07:37]/home/charon$ lock -v -p lock: locking vty: Inappropriate ioctl for device By running a slightly different version: charon@hades[07:37]/home/charon$ lock -v -p http://www.FreeBSD.org FreeBSD 5.0-CURRENT #0: Wed Aug 21 22:08:19 EEST 2002 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message