Find the answer to your Linux question:
Results 1 to 2 of 2
RHEL 5. The default user path in bash is /usr/kerberos/bin:/usr/local/bin:/bin:/usr/bin:/usr/X11R6/bin:/usr/local/root/bin:/home/foobar/bin for user "foobar". I'm trying to find how /usr/kerberos/bin and /usr/local/bin get in there. The aren't in ~/.bash*, nor in ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    May 2007
    Posts
    8

    Question How does the default PATH get set on RHEL?


    RHEL 5.

    The default user path in bash is
    /usr/kerberos/bin:/usr/local/bin:/bin:/usr/bin:/usr/X11R6/bin:/usr/local/root/bin:/home/foobar/bin
    for user "foobar". I'm trying to find how /usr/kerberos/bin and /usr/local/bin get in there. The aren't in ~/.bash*, nor in /etc/bashrc, nor /etc/profile, nor /usr/include/paths.h. Those are all the places I know to look. There is no /etc/PATH or /etc/path. Is there somewhere else I should check?

  2. #2
    Blackfooted Penguin daark.child's Avatar
    Join Date
    Apr 2006
    Location
    West Yorks
    Posts
    4,393
    Some of the paths are set by scripts in /etc/profile.d.

Posting Permissions

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