Ask a Question related to AIX, Design and Development.

  1. #1

    Default Default PATH

    On our AIX 5.1 systems we are unable to have the /etc/profile or
    /etc/environment PATH statements take. The individual users
    $HOME/.profile overrides any PATH statements in /etc/profile or
    /etc/environment. Has anyone seen this problem, or know the solution?
    chuckd35@msn.com Guest

  2. Similar Questions and Discussions

    1. clipping path shows ouside path in quark
      I'm making paths on silo'd objects on white backgrounds to place on colored backgrounds in quark 4. Operating pshop 6.01 in os 9.2. I put the path on...
    2. Default path word wrap.
      I use InDesign to letter comic books. I make circular paths as bubbles, and put the dialogue for the comic book in the bubble. This works fine,...
    3. #25444 [Bgs->Opn]: php4isapi.dll path to win.ini doesn't load from current path.
      ID: 25444 User updated by: ict at primus dot ca Reported By: ict at primus dot ca -Status: Bogus +Status: ...
    4. #25444 [NEW]: php4isapi.dll path to win.ini doesn't load from current path.
      From: ict at primus dot ca Operating system: W2K PHP version: 4.3.3 PHP Bug Type: *Configuration Issues Bug description: ...
    5. OSX: translate path with slashes to path with colons and volume name
      Hi all, I need to convert a UNIX-path to a Mac OS X path. For example: /Applications/Chess.app matches Macintosh HD:Applications:Chess.app ...
  3. #2

    Default Re: Default PATH

    [email]chuckd35@msn.com[/email] writes:
    > On our AIX 5.1 systems we are unable to have the /etc/profile or
    > /etc/environment PATH statements take. The individual users
    > $HOME/.profile overrides any PATH statements in /etc/profile or
    > /etc/environment.
    Yes, that's the way UNIX is designed. The local customization trumps
    the system wide one.
    > Has anyone seen this problem, or know the solution?
    Users shouldn't be setting PATH in an absolute fashion.

    Instruct users that their setting of an absolute PATH breaks things
    and that their .profile should only append to the existin PATH
    statement, eg

    good:
    PATH=$PATH:$HOME/bin
    export PATH

    versus the bad:
    PATH=/usr/local/bin:/bin:/usr/bin:$HOME/bin
    export PATH


    Best Regards,
    --
    Todd H.
    [url]http://www.toddh.net/[/url]
    Todd H. Guest

  4. #3

    Default Re: Default PATH


    <chuckd35@msn.com> wrote in message
    news:39ab5d89.0309091222.76e14668@posting.google.c om...
    > On our AIX 5.1 systems we are unable to have the /etc/profile or
    > /etc/environment PATH statements take. The individual users
    > $HOME/.profile overrides any PATH statements in /etc/profile or
    > /etc/environment. Has anyone seen this problem, or know the solution?

    The shell will by default take the path form /etc/profiles and
    /etc/environments. A users setting in their home directory with override.
    What you must do is append the path. ie in the the $HOME/.profile is
    should say

    export PATH=$PATH:/usr/local/bin

    where the usr/local/bin is whatever you want to add do the path set in
    /etc/environment


    Hope this helps

    Rich


    Rich Guest

Posting Permissions

  • You may not post new threads
  • You may post replies
  • You may not post attachments
  • You may not edit your posts

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139