Date: Thu, 26 Jul 2001 02:24:23 +0200 From: Piet Delport <siberiyan@mweb.co.za> To: Roby Sadeli <netcitizen01@yahoo.com> Cc: freebsd-newbies@freebsd.org Subject: Re: FW: Path? Message-ID: <20010726022423.A735991@ATHALON> In-Reply-To: <000901c1153b$bdf68cb0$0100a8c0@godzilla>; from netcitizen01@yahoo.com on Thu, Jul 26, 2001 at 01:58:03AM %2B0700 References: <000901c1153b$bdf68cb0$0100a8c0@godzilla>
next in thread | previous in thread | raw e-mail | index | archive | help
--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 <siberiyan@mweb.co.za> 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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20010726022423.A735991>