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
[-- Attachment #1 --]
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, thank
> you)
>
> > -----Original Message-----
> > From: Roby Sadeli [mailto:netcitizen01@yahoo.com]
> > Sent: 23 Juli 2001 23:39
> > To: 'freebsd-questions@FreeBSD.ORG'
> > Subject: Path?
> >
> > Hi,
> > I've been using FreeBSD 4.3 for some time and of course I really like its
> > 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?
> >
> > Thanks in advance for your answers,
> > Roby
> >
> >
> > My /etc/profile (cut):
> > PATH:$PATH:/usr/local/pgsql/bin
^
Shouldn't this be 'PATH=$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=/sbin /bin /usr/sbin /usr/bin /usr/games
> > /usr/local/sbin /usr/local/bin /usr/X11R6/bin ~/bin
> > /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):
> > PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/pgsql/bin
> > export HOME PATH
This is almost certainly a mistake... /etc/rc shouldn't be edited unless you
*really* know what you're doing.
--
Piet Delport <siberiyan@mweb.co.za>
Today's subliminal thought is:
[-- Attachment #2 --]
-----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-----
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20010726022423.A735991>
