From nathan@limbo.rtfm.net  Tue Jul  7 09:35:35 1998
Received: from limbo.rtfm.net (nathan@38.nyack.fcc.net [204.141.125.38])
          by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id JAA24771
          for <FreeBSD-gnats-submit@freebsd.org>; Tue, 7 Jul 1998 09:35:33 -0700 (PDT)
          (envelope-from nathan@limbo.rtfm.net)
Received: (from nathan@localhost)
	by limbo.rtfm.net (8.8.8/8.8.8) id MAA20346;
	Tue, 7 Jul 1998 12:32:44 -0400 (EDT)
	(envelope-from nathan)
Message-Id: <199807071632.MAA20346@limbo.rtfm.net>
Date: Tue, 7 Jul 1998 12:32:44 -0400 (EDT)
From: nathan@rtfm.net
To: FreeBSD-gnats-submit@freebsd.org, Joe Greco <jgreco@ns.sol.net>
Subject: root's home incorrect in tripwire default config
X-Send-Pr-Version: 3.2

>Number:         7197
>Category:       ports
>Synopsis:       root's home incorrect in tripwire default config
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    freebsd-ports
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Tue Jul  7 09:40:01 PDT 1998
>Closed-Date:    Tue Jul 28 10:08:48 PDT 1998
>Last-Modified:  Tue Jul 28 10:15:45 PDT 1998
>Originator:     Nathan Dorfman <nathan@rtfm.net>
>Release:        FreeBSD 3.0-CURRENT i386
>Organization:
RTFM.net
>Environment:

FreeBSD limbo 3.0-CURRENT FreeBSD 3.0-CURRENT #9: Wed Jul  1 00:54:13 EDT 1998
nathan@limbo:/usr/src/sys/compile/LIMBO  i386

>Description:

	The default tripwire configuration file for FreeBSD (in
	work/tripwire-1.2/configs/tw.conf.freebsd2) seems to assume / as
	root's home directory. It checks for dotfiles there. These files
	don't exist, and will generate errors in integrity check mode. The
	problem is that the *real* files in /root don't get checked.

>How-To-Repeat:

	Install the tripwire port, and generate, then check a database
	using the default configuration.

>Fix:
	
75,81s/^/\/root/ - patch included because, frankly, I need
                   to pass the time :\

*** tw.conf.freebsd2	Tue May 12 22:03:19 1998
--- tw.conf.freebsd2.n	Tue Jul  7 12:20:57 1998
***************
*** 72,84 ****
  
  #  First, root's "home"
  =/		L
! /.rhosts	R	# may not exist
! /.profile	R	# may not exist
! /.cshrc		R	# may not exist
! /.login		R	# may not exist
! /.exrc		R	# may not exist
! /.logout	R	# may not exist
! /.forward	R	# may not exist
  
  # Unix itself
  /kernel		R
--- 72,84 ----
  
  #  First, root's "home"
  =/		L
! /root/.rhosts	R	# may not exist
! /root/.profile	R	# may not exist
! /root/.cshrc	R	# may not exist
! /root/.login	R	# may not exist
! /root/.exrc	R	# may not exist
! /root/.logout	R	# may not exist
! /root/.forward	R	# may not exist
  
  # Unix itself
  /kernel		R

>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->closed 
State-Changed-By: obrien 
State-Changed-When: Tue Jul 28 10:08:48 PDT 1998 
State-Changed-Why:  
fix applied 
>Unformatted:
