From owner-freebsd-hackers Wed Nov 14 16:51:58 2001 Delivered-To: freebsd-hackers@freebsd.org Received: from netau1.alcanet.com.au (ntp.alcanet.com.au [203.62.196.27]) by hub.freebsd.org (Postfix) with ESMTP id BAAE537B405 for ; Wed, 14 Nov 2001 16:51:55 -0800 (PST) Received: from mfg1.cim.alcatel.com.au (mfg1.cim.alcatel.com.au [139.188.23.1]) by netau1.alcanet.com.au (8.9.3 (PHNE_22672)/8.9.3) with ESMTP id LAA08804 for ; Thu, 15 Nov 2001 11:51:53 +1100 (EDT) Received: from gsmx07.alcatel.com.au by cim.alcatel.com.au (PMDF V5.2-32 #37641) with ESMTP id <01KAQD2R8ECGVFJFEC@cim.alcatel.com.au> for freebsd-hackers@freebsd.org; Thu, 15 Nov 2001 11:51:46 +1100 Received: (from jeremyp@localhost) by gsmx07.alcatel.com.au (8.11.1/8.11.1) id fAF0pde43424 for freebsd-hackers@freebsd.org; Thu, 15 Nov 2001 11:51:39 +1100 Content-return: prohibited Date: Thu, 15 Nov 2001 11:51:39 +1100 From: Peter Jeremy Subject: opiekeys, opieinfo and opiepasswd permissions To: freebsd-hackers@freebsd.org Message-id: <20011115115139.S94635@gsmx07.alcatel.com.au> MIME-version: 1.0 Content-type: text/plain; charset=us-ascii Content-disposition: inline User-Agent: Mutt/1.2.5i Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG I'm looking at moving to OPIE and have bumped into a couple of areas which don't seem to be clear: 1) What should the permissions on /etc/opiekeys be? This file isn't created by installworld or mergemaster under -stable, and I can't find anything looking through the -current Makefile's. None of the code in libopie has O_CREAT set. The original OPIE Makefile creates the file during "make install" with mode 0644. 2) Why is opieinfo(1) setuid root in -current? The relevant commitlog entry (src/usr.bin/opieinfo/Makefile v1.7) talks about messing with /etc/opiekeys but opieinfo only reads it. Does this mean opiekeys should be mode 0600? 3) Is there a particular reason why opiepasswd(1) isn't setuid root in -stable? opiepasswd does need to update /etc/opiekeys and so it currently doesn't work in -stable. Is this just a lack of round tuit's for MFC's, or is there some other reason? Peter To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message