Bug 862

Summary: Default PATH from /bin/login is not clever
Product: [Retired] Red Hat Linux Reporter: w.wouts
Component: util-linuxAssignee: David Lawrence <dkl>
Status: CLOSED NOTABUG QA Contact:
Severity: low Docs Contact:
Priority: low    
Version: 4.2   
Target Milestone: ---   
Target Release: ---   
Hardware: i386   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2000-03-22 22:00:59 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description w.wouts 1999-01-18 09:21:49 UTC
By default /bin/login will set a users $PATH to:
/usr/local/bin:/bin:/usr/bin This way the small/crippled
versions of programs will be used by default. So I suggest
that the default $PATH is changed to:
/usr/local/bin:/usr/bin:/bin The $PATH for root should be
changed from /sbin:/bin:/usr/sbin:/usr/bin to
/usr/sbin:/usr/bin:/sbin:/bin accordingly.

The best place to change this would be in /bin/login, though
I've just changed /etc/skel/.bash_profile for now. But the
latter may break login scripts if anything changes.

Comment 1 Mike A. Harris 2001-11-26 08:25:01 UTC
This bug was misassigned to dkl.  Since dkl is in QA, it is no wonder
the bug never got seen.  ;o)

This is not a bug.  The path is as it is expected to be.  Users desiring
an alternate default path, are free to reconfigure to their taste.