From owner-FreeBSD-users-jp@jp.freebsd.org  Thu Jun 28 22:11:56 2001
Received: (from daemon@localhost)
	by castle.jp.freebsd.org (8.9.3+3.2W/8.7.3) id WAA80674;
	Thu, 28 Jun 2001 22:11:56 +0900 (JST)
	(envelope-from owner-FreeBSD-users-jp@jp.FreeBSD.org)
Received: from mail.is.titech.ac.jp (mail.is.titech.ac.jp [131.112.51.131])
	by castle.jp.freebsd.org (8.9.3+3.2W/8.7.3) with SMTP id WAA80669
	for <FreeBSD-users-jp@jp.freebsd.org>; Thu, 28 Jun 2001 22:11:56 +0900 (JST)
	(envelope-from yanagis0@is.titech.ac.jp)
Received: (qmail 15175 invoked from network); 28 Jun 2001 13:11:25 -0000
Received: from edu.is.titech.ac.jp (HELO localhost) (131.112.40.34)
  by mail.is.titech.ac.jp with SMTP; 28 Jun 2001 13:11:25 -0000
To: FreeBSD-users-jp@jp.freebsd.org
From: Yoshisato Yanagisawa <Yoshisato.Yanagisawa@is.titech.ac.jp>
In-Reply-To: <20010628212745J.yk@home.yk.tp>
References: <20010627001500G.yk@home.yk.tp>
	<3B391F70.22824118@mic.mitsumi.co.jp>
	<20010628212745J.yk@home.yk.tp>
X-Mailer: Mew version 1.94.2 on Emacs 19.34 / Mule 2.3 (SUETSUMUHANA)
Mime-Version: 1.0
Content-Type: Text/Plain; charset=iso-2022-jp
Content-Transfer-Encoding: 7bit
Message-Id: <20010628221125Y.yanagis0@is.titech.ac.jp>
Date: Thu, 28 Jun 2001 22:11:25 +0900
X-Dispatcher: imput version 20000228(IM140)
Lines: 37
Reply-To: FreeBSD-users-jp@jp.freebsd.org
Precedence: list
X-Distribute: distribute version 2.1 (Alpha) patchlevel 24e+010328
X-Sequence: FreeBSD-users-jp 62632
Subject: [FreeBSD-users-jp 62632] Re: /nonexistent
 =?ISO-2022-JP?B?GyRCJCxCODpfJDckSiQkJHMkRyQ5JCwhJiEmISYbKEI=?=
Errors-To: owner-FreeBSD-users-jp@jp.freebsd.org
Sender: owner-FreeBSD-users-jp@jp.freebsd.org
X-Originator: yanagis0@is.titech.ac.jp


$BLx_7(B@is.titech.ac.jp $B3XIt(B3$BG/$G$9!#(B

From: Yutaka KAWASE <yutaka@mailhost.net>
Subject: [FreeBSD-users-jp 62631] Re: /nonexistent $B$,B8:_$7$J$$$s$G$9$,!&!&!&(B
Date: Thu, 28 Jun 2001 21:27:45 +0900

> $B$O$$!#(B/usr/sbin/adduser $B$G(B shell $B$r(B no $B$H;XDj$9$k$H!"%[!<%`%G%#%l%/%H%j(B
> $B$G$O$J$/$F!"(Bshell $B$,(B /nonexistent $B$K$J$j$^$9!#(B

/usr/sbin/adduser$B$O(BShell Script$B$J$N$G$9$,!"(B
$B$3$l$K$O$K$O$P$C$A$j$3$&$$$&$N$,$"$j$^$9$M!#(B
    # Allow /nonexistent and /bin/date as a valid shell for system utils
    push(@list, "/nonexistent");
    push(@shellpref, "no") if !grep(/^no$/, @shellpref);
    $shell{"no"} = "/nonexistent";

    push(@list, "/bin/date");
    push(@shellpref, "date") if !grep(/^date$/, @shellpref);
    $shell{"date"} = "/bin/date";

$B$@$+$i!"(B

> > $B$3$l$O!"%[!<%`%G%#%l%/%H%j$,B8:_$7$J$$%f!<%6$H$$$&0UL#$@$H;W$$$^$9$,!#(B

$B%[!<%`%G%#%l%/%H%j!<$@$1$G$O$J$$$H;W$$$^$9!#(B

$B$7$+$7$J$,$i!"$I$&$$$&;WA[$N85$K(B
/nonexistent$B$d(B/bin/date$B$,(Badduser$B$N(B$shell$B$K$$$l$F$"$k$+$O(B
$B>.@8$b6=L#$,$"$j$^$9!#(B

----------------------------------------------
Yoshisato YANAGISAWA<yanagis0@is.titech.ac.jp>
    Tokyo Insitute of Technology
        Information Science
        =Hacker is not Cracker=
----------------------------------------------
