Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 15 Nov 2001 11:51:39 +1100
From:      Peter Jeremy <peter.jeremy@alcatel.com.au>
To:        freebsd-hackers@freebsd.org
Subject:   opiekeys, opieinfo and opiepasswd permissions
Message-ID:  <20011115115139.S94635@gsmx07.alcatel.com.au>

next in thread | raw e-mail | index | archive | help
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20011115115139.S94635>