Re: /etc/profile and setting env variables

From: Brian Brazil (bbrazil_at_netsoc.tcd.ie)
Date: 03/22/04

  • Next message: Antonio Rodriguez: "Re: Aptitude Wants to Delete/Remove Way Too Much"
    Date: Mon, 22 Mar 2004 10:18:46 +0000
    To: debian-user@lists.debian.org
    
    

    On Sun, Mar 21, 2004 at 09:56:57PM -0500, shrevie@ntnation.com wrote:
    > Here's my questions:
    >
    > a) Where do I edit global profile changes?

    One place for enviroment variables is with pam_env in /etc/pam.d and
    /etc/security.
    Another for enviroment variables is /etc/enviroment
    Limits can be handled with pam_limit

    > b) I looked at the .profile and the .bashrc files in my user
    > directories... I may be an idiot, but I don't see where they are in turn
    > calling a global profile file... or is it the other way around (a global
    > file is calling them?)

    The shell automatically reads them. What it reads is dependant on whether
    it is a login shell, an interactive shell and the output of 'pom' :-)

    > Thanks for suggestions and help.... I tried Google and the list
    > archives, but I can't seem to formulate a good search that gets me the
    > info I need.

    Try 'man bash'. Its under INVOCATION. Don't ask me if X parses
    /etc/profile etc. 'man X' maybe?

    Brian

    -- 
    To UNSUBSCRIBE, email to debian-user-request@lists.debian.org 
    with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
    

  • Next message: Antonio Rodriguez: "Re: Aptitude Wants to Delete/Remove Way Too Much"