From owner-freebsd-newbies Wed Jul 25 17:25:27 2001 Delivered-To: freebsd-newbies@freebsd.org Received: from jhb-proxy.mweb.co.za (jhb-proxy.mweb.co.za [196.2.48.243]) by hub.freebsd.org (Postfix) with ESMTP id 54CEF37B405 for ; Wed, 25 Jul 2001 17:25:22 -0700 (PDT) (envelope-from siberiyan@mweb.co.za) Received: from siberiyan.dyndns.org ([196.3.240.97]) by jhb-proxy.mweb.co.za (Sun Internet Mail Server sims.3.5.2000.03.23.18.03.p10) with SMTP id <0GH200H6L14V35@jhb-proxy.mweb.co.za> for freebsd-newbies@freebsd.org; Thu, 26 Jul 2001 02:24:41 +0200 (GMT-2) Received: by siberiyan.dyndns.org (sSMTP sendmail emulation); Thu, 26 Jul 2001 02:24:23 +0200 Date: Thu, 26 Jul 2001 02:24:23 +0200 From: Piet Delport Subject: Re: FW: Path? In-reply-to: <000901c1153b$bdf68cb0$0100a8c0@godzilla>; from netcitizen01@yahoo.com on Thu, Jul 26, 2001 at 01:58:03AM +0700 To: Roby Sadeli Cc: freebsd-newbies@freebsd.org Message-id: <20010726022423.A735991@ATHALON> MIME-version: 1.0 Content-type: multipart/signed; micalg=pgp-md5; protocol="application/pgp-signature"; boundary="H5NxJv7SZcZWIl3y" Content-disposition: inline User-Agent: Mutt/1.2.5i X-Operating-System: CYGWIN_98-4.10 X-GPG-Key-ID: 0x6B191427 X-GPG-Fingerprint: C7FF A540 2199 F7BF 1933 5640 CD15 0FF3 6B19 1427 References: <000901c1153b$bdf68cb0$0100a8c0@godzilla> Sender: owner-freebsd-newbies@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org --H5NxJv7SZcZWIl3y Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Thu, 26 Jul 2001 at 01:58:03 +0700, Roby Sadeli wrote: > Hi, I'm reposting my msg coz no one replied back :( (so it seems) (Please > reply to me instead of the list since I'm not subscribed to the list, tha= nk > you) >=20 > > -----Original Message----- > > From: Roby Sadeli [mailto:netcitizen01@yahoo.com]=20 > > Sent: 23 Juli 2001 23:39 > > To: 'freebsd-questions@FreeBSD.ORG' > > Subject: Path? > >=20 > > Hi, > > I've been using FreeBSD 4.3 for some time and of course I really like i= ts > > features and stability. But I came across this silly problem: I'd like = to > > put this path (/usr/local/pgsql/bin) in /etc/profile so it can be read = by > > all users and it didn't work as desired. Also tried /etc/login.conf (of > > course I didn't forget to do cap_mkdb /etc/login.conf) and /etc/rc. What > > am I doing wrong there? > >=20 > > Thanks in advance for your answers, > > Roby > >=20 > >=20 > > My /etc/profile (cut): > > PATH:$PATH:/usr/local/pgsql/bin ^ Shouldn't this be 'PATH=3D$PATH:/usr/local/pgsql/bin'? Also, what shell(s) are your users using? /etc/profile is the right place = to put the path for Bourse-like shells, but csh and tcsh, for example, use different global init files (/etc/csh.cshrc and /etc/csh.login, according to the manpage). > > My /etc/login.conf (cut): > > default:\ > > :path=3D/sbin /bin /usr/sbin /usr/bin /usr/games=20 > > /usr/local/sbin /usr/local/bin /usr/X11R6/bin ~/bin=20 > > /usr/local/pgsql/bin:\ Not sure what effect this will have, but i'm fairly sure it won't override = the shell's notion of its search path. > > My /etc/rc (cut):=20 > > PATH=3D/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/pgsql/b= in > > export HOME PATH This is almost certainly a mistake... /etc/rc shouldn't be edited unless y= ou *really* know what you're doing. --=20 Piet Delport Today's subliminal thought is: --H5NxJv7SZcZWIl3y Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.6 (CYGWIN_98-4.10) Comment: For info see http://www.gnupg.org iD8DBQE7X2M2zRUP82sZFCcRArsRAKCPGlAd8vZ9pxsJXGf5i/Lb1GB4PACeKiRS Ax+10suitknbN4iI1jK7RIg= =3NcD -----END PGP SIGNATURE----- --H5NxJv7SZcZWIl3y-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-newbies" in the body of the message