Bug 862 - Default PATH from /bin/login is not clever
Default PATH from /bin/login is not clever
Product: Red Hat Linux
Classification: Retired
Component: util-linux (Show other bugs)
i386 Linux
low Severity low
: ---
: ---
Assigned To: David Lawrence
Depends On:
  Show dependency treegraph
Reported: 1999-01-18 04:21 EST by w.wouts
Modified: 2008-05-01 11:37 EDT (History)
0 users

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2000-03-22 17:00:59 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 w.wouts 1999-01-18 04:21:49 EST
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 03:25:01 EST
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.

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