Date: Sun, 15 Aug 1999 10:38:10 -0400 (EDT) From: "Korvus [PINE]" <korvus@tasam.com> To: dmp@aracnet.com Cc: Eric Hodel <hodeleri@seattleu.edu>, Ng Kok Leong <klng@psl.com.sg>, freebsd-newbies@FreeBSD.ORG, freebsd-user-groups@FreeBSD.ORG Subject: Re: path Message-ID: <Pine.BSF.4.10.9908151038001.16201-100000@tasam.com> In-Reply-To: <37B6C6B2.EF4010DB@aracnet.com>
next in thread | previous in thread | raw e-mail | index | archive | help
i believe "su -" will work as well On Sun, 15 Aug 1999 dmp@aracnet.com wrote: > Eric Hodel wrote: > > > > Ng Kok Leong wrote: > > > > > > Hi, > > > > > > I am new to FreeBSD and currently I am working with FreeBSD3.2. > > > May I know where can I set the directory path so that I do not have > > > to go to the directory where the file resides in order to access it? > > > I have tried to set the PATH variable in the .profile file but this does > > > > If you are using sh, you can set your path in the .profile, but this > > will only run on a login shell. If you have root using the sh shell, it > > won't pick up the sbin directories if you su. > > The -l flag makes su behave like a login shell. > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-newbies" in the body of the message > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-user-groups" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.4.10.9908151038001.16201-100000>