From owner-freebsd-questions Fri Mar 21 13:11:57 1997 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id NAA13570 for questions-outgoing; Fri, 21 Mar 1997 13:11:57 -0800 (PST) Received: from mixcom.mixcom.com (mixcom.mixcom.com [198.137.186.100]) by freefall.freebsd.org (8.8.5/8.8.5) with SMTP id NAA13563 for ; Fri, 21 Mar 1997 13:11:47 -0800 (PST) Received: by mixcom.mixcom.com (8.6.12/2.2) id PAA00756; Fri, 21 Mar 1997 15:12:03 -0600 Received: from p75.mixcom.com(198.137.186.25) by mixcom.mixcom.com via smap (V1.3) id sma000727; Fri Mar 21 21:11:59 1997 Message-Id: <3.0.32.19970321150544.00700304@mixcom.com> X-Sender: sysop@mixcom.com X-Mailer: Windows Eudora Pro Version 3.0 (32) Date: Fri, 21 Mar 1997 15:06:18 -0600 To: questions@freebsd.org From: "Jeffrey J. Mountin" Subject: Which problems Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Sender: owner-questions@freebsd.org X-Loop: FreeBSD.org Precedence: bulk No pun, but Trying to 'which' paths doesn't seem to work, so: NRock: /sys/compile/GENERIC > find / -name which -print /usr/bin/which /usr/src/usr.bin/which NRock: /sys/compile/GENERIC > echo $PATH /sbin:/usr/sbin:/bin:/usr/bin:/usr/local/bin Looks good, but: NRock: /sys/compile/GENERIC > which which su: which: No such file or directory Huh? Fine: NRock: /usr/bin > ./which which su: ./which: No such file or directory Arghh! It is in /usr/bin and is mode 555 so what gives? FYI, logged in, su'd to root, which uses /usr/local/bin/ksh for the shell. System is 2.1.7 and was recently upgraded without a problem from 2.1.6 and previously from 2.1.5 and that was fresh. One can which which on BSDi just fine, but it seems to be broken. My which is witched. ------------------------------------------- Jeff Mountin - System/Network Administrator jeff@mixcom.net MIX Communications Serving the Internet since 1990