FS#56961 - [openssh] wrong PATH
Attached to Project:
Arch Linux
Opened by nl6720 (nl6720) - Friday, 05 January 2018, 08:16 GMT
Last edited by Gaetan Bisson (vesath) - Saturday, 06 January 2018, 07:47 GMT
Opened by nl6720 (nl6720) - Friday, 05 January 2018, 08:16 GMT
Last edited by Gaetan Bisson (vesath) - Saturday, 06 January 2018, 07:47 GMT
|
Details
Description:
openssh is not compiled with Arch's default path From /etc/ssh/sshd_config : # This sshd was compiled with PATH=/usr/bin:/bin:/usr/sbin:/sbin Since /etc/profile doesn't overwrite the PATH, when I login with ssh the PATH becomes: /usr/bin:/bin:/usr/sbin:/sbin:/usr/local/sbin:/usr/local/bin:/usr/bin/site_perl:/usr/bin/vendor_perl:/usr/bin/core_perl PATH can be set explicitly with make option --with-default-path . Please compile openssh with --with-default-path="/usr/local/sbin:/usr/local/bin:/usr/bin" . Additional info: * package version(s) * config and/or log files etc. openssh 7.6p1-1 Steps to reproduce: login with ssh, run printenv PATH |
This task depends upon
Closed by Gaetan Bisson (vesath)
Saturday, 06 January 2018, 07:47 GMT
Reason for closing: Implemented
Additional comments about closing: openssh-7.6p1-2 in [testing]
Saturday, 06 January 2018, 07:47 GMT
Reason for closing: Implemented
Additional comments about closing: openssh-7.6p1-2 in [testing]