Bug 120612 - "su" keeps user bin directory first in $PATH
Summary: "su" keeps user bin directory first in $PATH
Status: RESOLVED INVALID
: 120609 (view as bug list)
Alias: None
Product: SUSE LINUX 10.0
Classification: openSUSE
Component: Basesystem (show other bugs)
Version: Final
Hardware: Other All
: P5 - None : Major
Target Milestone: ---
Assignee: Dr. Werner Fink
QA Contact: E-mail List
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-10-06 12:18 UTC by Anders Johansson
Modified: 2005-10-06 13:02 UTC (History)
1 user (show)

See Also:
Found By: Other
Services Priority:
Business Priority:
Blocker: ---
Marketing QA Status: ---
IT Deployment: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Comment 1 Thorsten Kukuk 2005-10-06 12:37:51 UTC
Of couse you can never use plain "su" out of the box on someone else's
login safely and you never could. The solution is "su -".
Comment 2 Thorsten Kukuk 2005-10-06 12:38:39 UTC
*** Bug 120609 has been marked as a duplicate of this bug. ***
Comment 3 Anders Johansson 2005-10-06 12:46:00 UTC
That is not true. Up until 9.3 "su" reset $PATH to a secure value  
Comment 4 Thorsten Kukuk 2005-10-06 13:02:38 UTC
Having a $PATH which looks clean does not mean the environment is "clean".
The difference between "su" and "su -" was/is not only overwriting the $PATH
variable.