Red Hat Bugzilla – Bug 1251320
rfe: please change login to not add /bin:/sbin to $PATH
Last modified: 2015-08-26 00:34:06 EDT
Description of problem:
login adds the "old school" dirs to the default $PATH. It's not harmful, but has some downsides:
- every path search is infinitesimally slower
- every execve strace log is longer
- anyone looking at $PATH has to think longer
Since the /usr split is long gone, please consider removing it also from the path. gdm (which sets the paths for graphical user sessions, now uses to
Version-Release number of selected component (if applicable):
[test@rawhide ~]$ rpm -qf /bin/login
[test@rawhide ~]$ strings /bin/login|grep :/bin
Fixed in f23 and rawhide.
util-linux-2.27-0.2.fc23 has been submitted as an update for Fedora 23.
util-linux-2.27-0.2.fc23 has been pushed to the Fedora 23 stable repository. If problems still persist, please make note of it in this bug report.