From owner-freebsd-questions@FreeBSD.ORG Mon Feb 9 12:53:47 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id A055F106566B for ; Mon, 9 Feb 2009 12:53:47 +0000 (UTC) (envelope-from Johan@double-l.nl) Received: from smtp-vbr7.xs4all.nl (smtp-vbr7.xs4all.nl [194.109.24.27]) by mx1.freebsd.org (Postfix) with ESMTP id 3DE6F8FC19 for ; Mon, 9 Feb 2009 12:53:47 +0000 (UTC) (envelope-from Johan@double-l.nl) Received: from w2003s01.double-l.local (double-l.xs4all.nl [80.126.205.144]) by smtp-vbr7.xs4all.nl (8.13.8/8.13.8) with ESMTP id n19CrkaB094999 for ; Mon, 9 Feb 2009 13:53:46 +0100 (CET) (envelope-from Johan@double-l.nl) Content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="windows-1250" Content-Transfer-Encoding: quoted-printable X-MimeOLE: Produced By Microsoft Exchange V6.5 Date: Mon, 9 Feb 2009 13:53:45 +0100 Message-ID: <57200BF94E69E54880C9BB1AF714BBCB5DE522@w2003s01.double-l.local> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: RE: CUPS, initial PATH environment Thread-Index: AcmKtQCVz/tATxaKQWqc6eFzphJomQAABV3QAAASB+A= From: "Johan Hendriks" To: X-Virus-Scanned: by XS4ALL Virus Scanner Subject: RE: CUPS, initial PATH environment X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 09 Feb 2009 12:53:47 -0000 >If one installs CUPS as the printing system, one must use the >/usr/local/bin versions of lp, lpr, lpq and lprm instead of the >FreeBSD versions in /usr/bin, otherwise you get errors when using >the command line interface... >I could rename /usr/bin/lp, lpr, lpq, lprm to e.g. lp.origfreebsd, = etc.. >forcing the use of the /usr/local/bin versions >but this would oblige me to do that again after every FreeSBD upgrade. >Or I could put /usr/local/bin before /usr/bin in the path. >Two questions: >- is this a save thing to do (won't other things go wrong then?) >- if OK to do that, where can I change the path for every user, = whatever > shell (csh, sh, bash, tcsh, rbash) he uses? >/etc/profile, /etc/csh.* start-up files are shell-specific and as yet >distributed, only contain outcommented information, yet a newly created = user=20 >(whether using csh of bash) has a following path / PATH set up: >/sbin /bin /usr/sbin /usr/bin /usr/games /usr/local/sbin /usr/local/bin >Where is this path/PATH being set i.e. where can it be altered? If I recall correct you can you use the following in /etc/make.conf CUPS_OVERWRITE_BASE=3D yes Regards, Johan Hendriks=20 No virus found in this outgoing message. Checked by AVG - www.avg.com=20 Version: 8.0.233 / Virus Database: 270.10.19/1940 - Release Date: = 02/08/09 17:57:00