Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 25 Feb 1999 17:48:47 +0900 (JST)
From:      watanabe@komadori.planet.sci.kobe-u.ac.jp
To:        FreeBSD-gnats-submit@freebsd.org
Subject:   ports/10254: Jserver has a wrong owner.
Message-ID:  <199902250848.RAA02026@crayon.planet.sci.kobe-u.ac.jp>

next in thread | raw e-mail | index | archive | help

>Number:         10254
>Category:       ports
>Synopsis:       Jserver has a wrong owner.
>Confidential:   no
>Severity:       critical
>Priority:       high
>Responsible:    freebsd-ports
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Thu Feb 25 10:20:06 PST 1999
>Closed-Date:
>Last-Modified:
>Originator:     Takeshi WATANABE
>Release:        FreeBSD 3.1-RELEASE i386
>Organization:
Kobe University, Kobe, Japan
>Environment:

  + The user "wnn" did not exist on the system.
  + Install ja-Wnn-4.2 from packages (not ports).
  + Let the install script make the user "wnn".

>Description:

  Jserver will be a SetUID root program.  That's very dangerous.

>How-To-Repeat:

  Only packages has this problem.  There is no problem if you install
from ports.

  Only the first time of installing ja-Wnn-4.2, this problem will occurs.
If you pkg_delete and pkg_add again, this problem will disappear.

>Fix:

  Apply the following patch.

--- /usr/ports/japanese/Wnn/pkg/INSTALL.orig	Thu Feb 11 08:21:39 1999
+++ /usr/ports/japanese/Wnn/pkg/INSTALL	Thu Feb 25 15:45:00 1999
@@ -122,6 +122,7 @@
 	;;
     esac
 
+    chown wnn $wnnserver
     for dir in $sys_dirs; do
       $wnntouch $dir/*
     done

>Release-Note:
>Audit-Trail:
>Unformatted:


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports" in the body of the message




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