Bugzilla will be upgraded to version 5.0 on a still to be determined date in the near future. The original upgrade date has been delayed.
Bug 55591 - Shell PATH being written oddly
Shell PATH being written oddly
Product: Red Hat Linux
Classification: Retired
Component: rootfiles (Show other bugs)
All Linux
medium Severity medium
: ---
: ---
Assigned To: Bill Nottingham
Aaron Brown
Depends On:
  Show dependency treegraph
Reported: 2001-11-02 11:09 EST by Phil Copeland
Modified: 2014-03-16 22:24 EDT (History)
1 user (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2001-11-02 11:09:39 EST
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

  None (edit)
Description Phil Copeland 2001-11-02 11:09:35 EST
Parcelfarce is a 7.1 box upgraded to 7.2
I've also verified the SAME on a fresh 7.2 box

[root@parcelfarce /root]# rpm -qf /root/.bash_profile
[root@parcelfarce /root]# cat /root/.bash_profile


[root@parcelfarce /root]# rpm -qf /root/.cshrc 
[root@parcelfarce /root]# cat /root/.cshrc 
setenv PATH "/usr/local/sbin:/usr/sbin:/sbin:${PATH}:${HOME}/bin"

Erm ,well whats in there by default?

[root@parcelfarce /root]# ls /usr/local/sbin
[root@parcelfarce /root]#

Answer nothing. So why is it being added at the FRONT of the the path
statement? In fact, why is it being added at all?
Comment 1 Bill Nottingham 2002-01-25 00:30:05 EST
Since /usr/local/bin is added for normal users, /usr/local/sbin is added for
consistency for root users.

Note You need to log in before you can comment on or make changes to this bug.