NetBSD Problem Report #1016

From gnats  Wed May  3 09:57:58 1995
Received: from pain.lcs.mit.edu (pain.lcs.mit.edu [128.52.46.239]) by sun-lamp.cs.berkeley.edu (8.6.10/8.6.10) with ESMTP id JAA12393 for <gnats-bugs@sun-lamp.cs.berkeley.edu>; Wed, 3 May 1995 09:57:57 -0700
Message-Id: <199505031658.MAA00485@quiche-lorraine.MIT.EDU>
Date: Wed, 3 May 1995 12:58:27 -0400
From: John Hawkinson <jhawk@mit.edu>
Reply-To: jhawk@mit.edu
To: gnats-bugs@NetBSD.ORG
Subject: mrinfo should be setuid root
X-Send-Pr-Version: 3.2

>Number:         1016
>Category:       bin
>Synopsis:       mrinfo should be setuid root
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    bin-bug-people
>State:          closed
>Class:          change-request
>Submitter-Id:   net
>Arrival-Date:   Wed May 03 10:05:02 +0000 1995
>Closed-Date:    Sun Aug 13 03:43:58 +0000 1995
>Last-Modified:  Sun Aug 13 03:44:25 +0000 1995
>Originator:     John Hawkinson
>Release:        3 May 1995
>Organization:
MIT SIPB
>Environment:

System: NetBSD quiche-lorraine 1.0A NetBSD 1.0A (ATHENA-AHA) #8: Wed Apr 26 20:19:45 EDT 1995 jhawk@lola-granola:/afs/sipb.mit.edu/project/netbsd/dev/current-source/src/sys/arch/i386/compile/ATHENA-AHA i386


>Description:
	mrinfo is not setuid root, so normal users can't run it.

	This doesn't seem very useful; there's no reason to restrict
	the ability of users to query multicast routers as to who/what
	they connect to.

>How-To-Repeat:
>Fix:

*** Makefile	1995/05/03 16:49:06	1.1
--- Makefile	1995/05/03 16:49:43
***************
*** 1,5 ****
  #	from: Id: Makefile,v 1.5 1993/06/24 05:11:16 deering Exp
! #	$Id: Makefile,v 1.1 1995/05/03 16:49:06 jhawk Exp jhawk $

  .PATH: ${.CURDIR}/..
  CFLAGS+= -I${.CURDIR}/..
--- 1,5 ----
  #	from: Id: Makefile,v 1.5 1993/06/24 05:11:16 deering Exp
! #	$Id: Makefile,v 1.1 1995/05/03 16:49:06 jhawk Exp $

  .PATH: ${.CURDIR}/..
  CFLAGS+= -I${.CURDIR}/..
***************
*** 7,12 ****
--- 7,15 ----
  PROG=	mrinfo
  SRCS=	igmp.c inet.c kern.c mrinfo.c
  NOMAN=	noman
+ BINOWN= root
+ BINMODE=4555
+ 

  .include "../../Makefile.inc"
  .include <bsd.prog.mk>
>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->closed 
State-Changed-By: mycroft 
State-Changed-When: Sat Aug 12 23:43:58 EDT 1995 
State-Changed-Why:  
Fixed. 
>Unformatted:

NetBSD Home
NetBSD PR Database Search

(Contact us) $NetBSD: query-full-pr,v 1.51 2026/08/10 02:28:17 riastradh Exp $
$NetBSD: gnats_config.sh,v 1.10 2026/05/13 22:00:09 riastradh Exp $
Copyright © 1994-2026 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.