From owner-freebsd-questions Fri Dec 22 11: 8:10 2000 From owner-freebsd-questions@FreeBSD.ORG Fri Dec 22 11:08:08 2000 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from fep04-svc.mail.telepac.pt (fep04-svc.mail.telepac.pt [194.65.5.203]) by hub.freebsd.org (Postfix) with ESMTP id 0092437B400 for ; Fri, 22 Dec 2000 11:08:08 -0800 (PST) Received: from farrusco.brabos.org ([194.65.239.84]) by fep04-svc.mail.telepac.pt (InterMail vM.4.01.02.27 201-229-119-110) with SMTP id <20001222191349.GPPH16452.fep04-svc.mail.telepac.pt@farrusco.brabos.org> for ; Fri, 22 Dec 2000 19:13:49 +0000 From: Daniel Leal To: freebsd-questions@freebsd.org Subject: program don't start Date: Fri, 22 Dec 2000 18:45:46 +0000 X-Mailer: KMail [version 1.0.28] Content-Type: text/plain MIME-Version: 1.0 Message-Id: <00122219083500.00316@farrusco.brabos.org> Content-Transfer-Encoding: 8bit Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Hi everyone ! I am running FreeBSD 4.1-release in my PII-300 and I enjoy it a lot !! I'm a newbie. I am trying to learn something about Unix security and because of that I installed the program 'sniff'. But when I am in my windowmaker session and I try to run the program (sniff) the system tells me: "program not found" When I do: # whereis sniff the system answers me: "/usr/local/man/man1/sniff.1.gz /usr/ports/security/sniff" but I can find it in: "/usr/local/sbin/sniff" And if I try to run it with the full name (/usr/local/sbin/sniff) it works fine. The PATH in my .profile (root's) have de directory ... : /usr/local/sbin : ... When I am not running X there is no problem and I can start de sniff program simply doing "sniff". Why is this happening ? Can somebody help me with this please ? To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message