From owner-freebsd-questions@FreeBSD.ORG Sat May 8 17:25:44 2004 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id C4E9816A4CE for ; Sat, 8 May 2004 17:25:44 -0700 (PDT) Received: from msr64.hinet.net (msr64.hinet.net [168.95.4.164]) by mx1.FreeBSD.org (Postfix) with ESMTP id D22FC43D54 for ; Sat, 8 May 2004 17:25:43 -0700 (PDT) (envelope-from y2kbug@ms25.hinet.net) Received: from sonic.utopia.com (61-227-219-87.dynamic.hinet.net [61.227.219.87]) by msr64.hinet.net (8.9.3/8.9.3) with SMTP id IAA21965 for ; Sun, 9 May 2004 08:25:41 +0800 (CST) Date: Sun, 9 May 2004 08:15:54 +0800 From: Robert Storey To: freebsd-questions@freebsd.org Message-Id: <20040509081554.705a9f7a.y2kbug@ms25.hinet.net> In-Reply-To: <871xlu3lk5.fsf@emptyhost.emptydomain.de> References: <871xlu3lk5.fsf@emptyhost.emptydomain.de> X-Mailer: Sylpheed version 0.9.7 (GTK+ 1.2.10; i386-portbld-freebsd5.2) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Subject: Re: Built-in lpr vs CUPS X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: y2kbug@ms25.hinet.net List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 09 May 2004 00:25:44 -0000 Dear Kai, This problem can be solved by making file /usr/bin/lp* non-executable, like this: chmod -x /usr/bin/lp* regards, Robert On Sat, 08 May 2004 18:55:54 +0200 Kai Grossjohann wrote: > The default setup is to include /usr/bin before /usr/local/bin in > $PATH. This means that entering "lpr -Pfoo" doesn't work for printing > on my machine, I have to say "/usr/local/bin/lpr -Pfoo". > > It is obvious that I could change $PATH to mention /usr/local/bin > before /usr/bin, but is that the right solution? Surely there is a > reason for /etc/login.conf to mention /usr/bin first. > > Any thoughts are very much appreciated. > > Kai