PATH has /bin before /usr/bin in upgraded rawhide

Reindl Harald h.reindl at thelounge.net
Mon Oct 28 14:44:18 UTC 2013



Am 28.10.2013 15:39, schrieb T.C. Hollingsworth:
> Nope, notice that locally /bin is in $PATH, but when I ssh into the
> same system, it isn't.  Where's it coming from?

SSH has a hardcoded PATH for security reasons unless you configure both,
.bashrc and .bash_profile to have a non-hardcoded for interactive
as well as non-interactive shells

i wrote sometime ago a bugreport that it still has /usr and /sbin in this
hardcoded path which is nonsense after UsrMove and that was fixed

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 263 bytes
Desc: OpenPGP digital signature
URL: <http://lists.fedoraproject.org/pipermail/devel/attachments/20131028/1cd38499/attachment.sig>


More information about the devel mailing list