Bug 114615 - su - use a different path than login
su - use a different path than login
Product: Red Hat Enterprise Linux 3
Classification: Red Hat
Component: coreutils (Show other bugs)
All Linux
medium Severity medium
: ---
: ---
Assigned To: Ondrej Vasik
: Security
Depends On:
Blocks: 158741
  Show dependency treegraph
Reported: 2004-01-30 02:52 EST by Thilo Müller
Modified: 2008-01-28 07:05 EST (History)
3 users (show)

See Also:
Fixed In Version: RHBA-2005-544
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2008-01-28 07:05:45 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 Thilo Müller 2004-01-30 02:52:34 EST
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; Linux i686; de-AT; rv:1.4) Gecko/20030922

Description of problem:
When logging in in RHEL3 the PATH variable holds:
When issuing 'su -' the PATH variable holds:

Both should be the same.

Version-Release number of selected component (if applicable):

How reproducible:

Steps to Reproduce:
1.Log in as root
2.echo $PATH
3.su -
4.echo $PATH

Actual Results:  The first PATH shows:
The second PATH shows:

Expected Results:  Both should use the same PATH variable.

Additional info:
Comment 1 Tim Waugh 2004-01-30 04:57:44 EST
'When logging in in RHEL3' -- do you mean using the graphical login
and starting a terminal, or logging in on a text console (VT1, for
Comment 2 Ralf Spenneberg 2004-01-30 16:15:45 EST
Either of them. Using the graphical login and starting a terminal in
gnome and logging in on a text console gives the same behavior.

Comment 3 Tim Waugh 2004-02-04 11:43:54 EST
This problem was identified and fixed in coreutils-5.0-20, and will be
in any subsequent updates to coreutils for Red Hat Enterprise 3.
Comment 5 Ondrej Vasik 2008-01-28 07:05:45 EST
Closing that forgotten modified bugzilla as ERRATA RHBA-2005:544 - duplicate bug
#158741 was fixed in that update. Feel free to reopen this bug report if the
solution does not work for you.


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