Bug 862 - Default PATH from /bin/login is not clever
Summary: Default PATH from /bin/login is not clever
Alias: None
Product: Red Hat Linux
Classification: Retired
Component: util-linux
Version: 4.2
Hardware: i386
OS: Linux
Target Milestone: ---
Assignee: David Lawrence
QA Contact:
Depends On:
TreeView+ depends on / blocked
Reported: 1999-01-18 09:21 UTC by w.wouts
Modified: 2008-05-01 15:37 UTC (History)
0 users

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Last Closed: 2000-03-22 22:00:59 UTC

Attachments (Terms of Use)

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.

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