Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP
Posting-Version: version B 2.10.2 9/18/84; site lsuc.UUCP
Path: utzoo!lsuc!dave
From: dave@lsuc.UUCP (David Sherman)
Newsgroups: net.bugs.uucp
Subject: Re: Read permission on /etc/phones
Message-ID: <697@lsuc.UUCP>
Date: Sun, 7-Jul-85 06:50:50 EDT
Article-I.D.: lsuc.697
Posted: Sun Jul  7 06:50:50 1985
Date-Received: Sun, 7-Jul-85 07:32:52 EDT
References: <472@qantel.UUCP> <170@motel6.UUCP> <> <154@telesoft.UUCP> <696@lsuc.UUCP>
Reply-To: dave@lsuc.UUCP (David Sherman)
Organization: Law Society of Upper Canada, Toronto
Lines: 15
Keywords: tip, uucp, LCK
Summary: one more step needed

In article <696@lsuc.UUCP> I write:
||Why not just write a simple set-UID program which removes
||the LCK file and nothing else? You can get fancy with various
||checks, of course, but in its simplest form it's a one-line
||C program.

Whoops, I forgot one thing. You want this done automatically
when tip exits. So move tip to /usr/lib and make tip a shell
file which reads
	trap '/usr/lib/cleanLCK' 0 1 2 3 9 15
	/usr/lib/tip $*

Dave Sherman
-- 
{  ihnp4!utzoo  pesnta  utcs  hcr  decvax!utcsri  }  !lsuc!dave