[Solar-accesible] problemas con las variables de ambiente

Martin Lima vamperro at gmail.com
Tue Jan 17 20:45:14 CET 2006


te aconsejo que mandes este mail a SOLAR tecnica, desde accesibilidad no
podemos ayudarte mucho.
solar-tecnica at lists.ourproject.org

On 1/17/06, Julio Cesar Urbina <juliourbina2005 at yahoo.es> wrote:
>
> Ante todo reciban un cordial saludo de mi parte
>
> Para la instalación del Server Express "Cobol" en la plataforma Linux Red
> Hat Enterprise 4.0, se configuraron las variables de ambiente $PATH,
> $COBDIR y LD_LIBRARY_PATH  en /etc/rc.local y en profile, sin embargo,
> cuando cambio de Terminal se pierde la configuración de las variables antes
> mencionadas.
>
> Como se indica a continuación (las variables están resaltadas en
> negrillas):
>
> ------------------------------------------------------------------------------------------------------------------------------------------------------------
> # /etc/profile
>
>  #!/bin/sh
> #
> *# *touch /var/lock/subsys/local*
> COBDIR=/opt/microfocus/cobol
> export COBDIR
> PATH=$COBDIR/bin:$PATH
> export PATH
> LD_LIBRARY_PATH=$COBDIR/lib
> export LD_LIBRARY_PATH
> *
>
>
> # System wide environment and startup programs, for login setup
> # Functions and aliases go in /etc/bashrc
>
> pathmunge () {
>     if ! echo $PATH | /bin/egrep -q "(^|:)$1($|:)" ; then
>        if [ "$2" = "after" ] ; then
>           PATH=$PATH:$1
>        else
>           PATH=$1:$PATH
>        fi
>     fi
> }
>
> # Path manipulation
> if [ `id -u` = 0 ]; then
>     pathmunge /sbin
>     pathmunge /usr/sbin
>     pathmunge /usr/local/sbin
> fi
>
> pathmunge /usr/X11R6/bin after
>
> # No core files by default
> ulimit -S -c 0 > /dev/null 2>&1
>
> USER="`id -un`"
> LOGNAME=$USER
> MAIL="/var/spool/mail/$USER"
>
> HOSTNAME=`/bin/hostname`
> HISTSIZE=1000
>
> if [ -z "$INPUTRC" -a ! -f "$HOME/.inputrc" ]; then
>     INPUTRC=/etc/inputrc
> fi
>
> export PATH USER LOGNAME MAIL HOSTNAME HISTSIZE INPUTRC
>
> for i in /etc/profile.d/*.sh ; do
>     if [ -r "$i" ]; then
>         . $i
>     fi
> done
>
> unset i
> unset pathmunge
>
> # MICRO FOCUS SERVER EXPRESS VARIABLES
>
> *COBDIR=/opt/microfocus/cobol
> export COBDIR
> PATH=$COBDIR/bin:$PATH
> export PATH
> LD_LIBRARY_PATH=$COBDIR/lib
> export LD_LIBRARY_PATH*
> *
> -------------------------------------------------------------------------------------------------------------------------------
> *
> * *
> * *
> Si ejecuto $PATH, $COBDIR o  $* *LD_LIBRARY_PATH al cambiar de usuario o
> de terminal pierdo los valores, es decir no me muestra la información
> almacenada en las variables mencionadas.
>
>
> Muchas gracias
>
> Saludos
> Julio César
>
>
>
> ------------------------------
>
> LLama Gratis a cualquier PC del Mundo.
> Llamadas a fijos y móviles desde 1 céntimo por minuto.
>
> <http://us.rd.yahoo.com/mail/es/tagline/messenger/*http://es.voice.yahoo.com/>
> *MailScanner has detected a possible fraud attempt from "us.rd.yahoo.com"
> claiming to be* *MailScanner has detected a possible fraud attempt from "
> us.rd.yahoo.com" claiming to be http://es.voice.yahoo.com*
>
>
> _______________________________________________
> Solar-accesible mailing list
> Solar-accesible at lists.ourproject.org
> http://lists.ourproject.org/cgi-bin/mailman/listinfo/solar-accesible
>
>


--
   ,= ,- _ -. =.
((_/) o  o (\_))
    `-'( .  . )`-'
        \__/
GNU/Linux user #376116
"La libertad sin unión y fraternidad, es solo libertad de mercado"
-------------- next part --------------
An HTML attachment was scrubbed...
URL: /pipermail/solar-accesible/attachments/20060117/63673ae3/attachment.htm


More information about the Solar-accesible mailing list