[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]
RE: ldconfig in path?
- From: Al Sparks <data345 yahoo com>
- To: redhat-list redhat com
- Subject: RE: ldconfig in path?
- Date: Mon Aug 19 22:03:01 2002
Well,
$ su
alone simply switches your uid and gid to root, w/o going through
the full login process. As a result, it doesn't run root's
.bash_profile
file, and if you do a
# set
[lots of output]
you'll also see lots of variables that remain the userid you su'd from,
such as your $USER variable, and your $MAILDIR variable.
$ su -
gives you a more robust user switch. That doesn't mean you should use
it all the time. It may be more convenient to keep your userid variables.
=== Al
--- Desmond Lee <desmond60 hotmail com> wrote:
> Hi Matt
>
> Thanks for the reply. I just did what you said and did an su - instead of su
> root and then did './install.sh' and things worked :)
>
> What is the diff between su - and su root?
>
> Anyways, it worked so i'm happy.
>
> Thanks a lot guys
>
> Desmond
>
> >From: "Matt" <matt mmc net>
> >Reply-To: redhat-list redhat com
> >To: <redhat-list redhat com>
> >CC: <desmond60 hotmail com>
> >Subject: RE: ldconfig in path?
> >Date: Mon, 19 Aug 2002 16:40:03 -0400 (EDT)
> >
> >Desmon:
> >
> >type "whereis ldconfig" That will show you where it is. I think you will
> >find it in /usr/sbin Then just export it to your path variable.
> >Also, to avoid this problem in the future you should be using "su -" and
> >not "su"
> >
> >
> > >Hi there
> > >I'm trying to install Sophos Antivirus software for redhat. I'm running
> > >>into>a problem when i try and execute ./install.sh. It gives me the
> >following
> > >message:
> > >
> > >Error: Could not find 'ldconfig' in path.
> > >Does this mean i have to go into the /etc/profile and add something to my
> > >path? I cannot find where ldconfig is or even what that is as a matter
> >of
> > >fact.
> > >
> > >Does anyone have any ideas or has done this before?>
> > >
> > >Thanks
> >
> >
> >
> >
> >--
> >redhat-list mailing list
> >unsubscribe mailto:redhat-list-request redhat com?subject=unsubscribe
> >https://listman.redhat.com/mailman/listinfo/redhat-list
>
>
>
>
> _________________________________________________________________
> Chat with friends online, try MSN Messenger: http://messenger.msn.com
>
>
>
> --
> redhat-list mailing list
> unsubscribe mailto:redhat-list-request redhat com?subject=unsubscribe
> https://listman.redhat.com/mailman/listinfo/redhat-list
__________________________________________________
Do You Yahoo!?
HotJobs - Search Thousands of New Jobs
http://www.hotjobs.com
[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]