Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 9 May 2004 08:15:54 +0800
From:      Robert Storey <y2kbug@ms25.hinet.net>
To:        freebsd-questions@freebsd.org
Subject:   Re: Built-in lpr vs CUPS
Message-ID:  <20040509081554.705a9f7a.y2kbug@ms25.hinet.net>
In-Reply-To: <871xlu3lk5.fsf@emptyhost.emptydomain.de>
References:  <871xlu3lk5.fsf@emptyhost.emptydomain.de>

next in thread | previous in thread | raw e-mail | index | archive | help
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 <kai@emptydomain.de> 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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20040509081554.705a9f7a.y2kbug>