From owner-FreeBSD-users-jp@jp.freebsd.org  Fri Jul 11 16:02:27 1997
Received: by jaz.jp.freebsd.org (8.8.6+2.7Wbeta5/8.7.3) id QAA14560
	Fri, 11 Jul 1997 16:02:27 +0900 (JST)
Received: by jaz.jp.freebsd.org (8.8.6+2.7Wbeta5/8.7.3) with ESMTP id QAA14553
	for <FreeBSD-users-jp@jp.freebsd.org>; Fri, 11 Jul 1997 16:02:24 +0900 (JST)
Received: from scopsowl.mke.mei.co.jp (root@scopsowl.mke.mei.co.jp [157.8.107.10]) by mkegw0.mke.mei.co.jp (8.8.5+2.7Wbeta4/3.4Wbeta6MKE-FW) with ESMTP id PAA16335 for <FreeBSD-users-jp@jp.freebsd.org>; Fri, 11 Jul 1997 15:57:26 +0900 (JST)
Received: from mkegate0.mke.mei.co.jp ([157.8.106.130]) by scopsowl.mke.mei.co.jp (8.8.5+2.7Wbeta4/3.4Wbeta6MKESERVER) with SMTP id PAA29434 for <FreeBSD-users-jp@jp.freebsd.org>; Fri, 11 Jul 1997 15:57:00 +0900 (JST)
Received: from soft.saijo.mke.mei.co.jp by mkegate0.mke.mei.co.jp (4.1/3.5Wbeta)
	id AA15096; Fri, 11 Jul 97 15:56:22 JST
Received: from vepc03.saijo.mke.mei.co.jp by soft.saijo.mke.mei.co.jp (4.1/3.5Wbeta)
	id AA26519; Fri, 11 Jul 97 16:04:08 JST
Received: from localhost (localhost [127.0.0.1]) by vepc03.saijo.mke.mei.co.jp (8.8.5/3.4W4) with ESMTP id QAA12842 for <FreeBSD-users-jp@jp.freebsd.org>; Fri, 11 Jul 1997 16:03:01 +0900 (JST)
To: FreeBSD-users-jp@jp.freebsd.org
X-Mailer: Mew version 1.85 on Emacs 19.28.1 / Mule 2.3
Mime-Version: 1.0
Content-Type: Text/Plain; charset=iso-2022-jp
Content-Transfer-Encoding: 7bit
Message-Id: <19970711160301E.kana@saijo.mke.mei.co.jp>
Date: Fri, 11 Jul 1997 16:03:01 +0900
From: Masanori Kanaoka <kana@saijo.mke.mei.co.jp>
X-Dispatcher: imput version 970701
Lines: 39
Reply-To: FreeBSD-users-jp@jp.freebsd.org
Precedence: bulk
X-Distribute: distribute [version 2.1 (Alpha) patchlevel=19]
X-Sequence: FreeBSD-users-jp 15702
Subject: [FreeBSD-users-jp 15702] Re: [Q]set SUID root
Errors-To: owner-FreeBSD-users-jp@jp.freebsd.org
Sender: owner-FreeBSD-users-jp@jp.freebsd.org

$B6b2,!w>>2<<w$G$9!#(B

$ $B7k2L$O$*$s$J$8$G$7$?!#(B($B$R$g$C$H$7$?$i!"(BConfigure $B$N<ALd$K0U?^(B
$ $B$I$&$j$KEz$($F$$$J$$$+$bCN$l$J$$!#$b$&0l2s%H%i%$$7$F8+$^$9!#(B)

$B;d$,4V0c$($F$$$?$h$&$G$9!#(B

------- Perl5 $B$N(B sh Configure $B$N2hLL$N0lIt(B -----------------------------------
Other username to test security of setuid scripts with? [none] 
I'll assume setuid scripts are *not* secure.
Does your kernel have *secure* setuid scripts? [n] 
 
Some systems have disabled setuid scripts, especially systems where
setuid scripts cannot be secure.  On systems where setuid scripts have
been disabled, the setuid/setgid bits on scripts are currently
useless.  It is possible for perl5 to detect those bits and emulate
setuid/setgid in a secure fashion.  This emulation will only work if
setuid scripts have been disabled in your kernel.

Do you want to do setuid/setgid emulation? [n] y <---- $B$3$3(B

The installation process will also create a directory for
site-specific extensions and modules.  Some users find it convenient
to place all local files in this directory rather than in the main
distribution directory.
------- Perl5 $B$N(B sh Configure $B$N2hLL$N0lIt(B -----------------------------------

$B$H$7$F!"$"$H(B Perl $B$N%$%s%9%H!<%k$r:FEY9T$$$^$7$?!#(B

$B<B9T$9$k$H!"(B
	 imget -s pop/RPOP:kana@analog
	imget: ERROR: invalid password.

 setuid root $B$G<B9T$5$l$F$$$k$h$&$G$9!#(B

------ $B>>2<<wEE;R9)6H3t<02q<R(B  $B1GA|3+H/%;%s%?!<!!1GA|5;=QIt(B ----
$B!!6b2,!!@57{!!!!!!(BTEL:0897-56-1111($BFb(B518)  FAX:0897-56-8142
---------------- Masanori Kanaoka <kana@saijo.mke.mei.co.jp>----

