FS#31548 - [util-linux] su deletes /sbin from path
Attached to Project:
Arch Linux
Opened by Tobias Powalowski (tpowa) - Saturday, 15 September 2012, 12:36 GMT
Last edited by Tom Gundersen (tomegun) - Friday, 12 October 2012, 13:39 GMT
Opened by Tobias Powalowski (tpowa) - Saturday, 15 September 2012, 12:36 GMT
Last edited by Tom Gundersen (tomegun) - Friday, 12 October 2012, 13:39 GMT
|
Details
If you use su youruser, PATH changes and /sbin is thrown
out.
This results in weird behaviour. su -l fixes this, but was this change wanted? |
This task depends upon
Closed by Tom Gundersen (tomegun)
Friday, 12 October 2012, 13:39 GMT
Reason for closing: Fixed
Additional comments about closing: In 2.22.1-1
Friday, 12 October 2012, 13:39 GMT
Reason for closing: Fixed
Additional comments about closing: In 2.22.1-1
[#1] https://github.com/karelzak/util-linux/blob/master/login-utils/su-common.c#L490
[#2] https://github.com/karelzak/util-linux/blob/master/login-utils/su-common.c#L537