[wplug] perl and .bash_profile ?

trquinlan at home.com trquinlan at home.com
Sun May 20 11:33:53 EDT 2001


do 'su -'  adding the - will switch the environment varibles to the su'd
user.

Doug Green wrote:

> Hi-
>
> I have two questions this morning...I'm running RH7.1...
>
> 1) when I open a terminal and su, I cannot execute adsl-start without
> giving the full pathname (ie: /usr/sbin/adsl-start). However, /usr/sbin
> is in my path under my root account's .bash_profile. Obviously, this is
> not a big deal, but I was wondering why it's doing that.
>
> 2) I have been trying to compile and install bp, a perl bibliography
> package (available at www.ecst.csuchico.edu/~jacobsd/bib/bp/). It
> complains of my @INC variable not being set, among other things. What
> are these variables, how do I set them, and more importantly, where can
> I learn about this stuff (do I need to learn perl to use the
> packages??)? Does anyone else use bp? I had it working on my Mandrake
> 7.2 system, and I can't remember what magic catch-phrase made it work.
>
> As ususal, all help is greatly appreciated! Thanks!
>
> Doug
>
> PS- I lied, here's a third question: On my laptop, hitting ctrl-alt-F1
> (or F2 or...) doesn't give me a login screen! Using the SAME distro
> (identical configuration) on my desktop computer, it DOES give me a user
> login screen... weird, huh? Is this normal for laptop intalls??
>
> _______________________________________________
> wplug mailing list
> wplug at wplug.org
> http://www.wplug.org/mailman/listinfo/wplug




More information about the wplug mailing list