jirutka/ssh-ldap-pubkey

ssh-ldap-pubkey-wrapper can't find ssh-ldap-pubkey if not in PATH

sjorge opened this issue · 0 comments

I installed ssh-ldap-pubkey using pip, pip is using /usr/local as the base path because I am using a python3.8 from pkgsrc.

Everything works fine when running as myself, root or nobody (via sudo) as the PATH variable gets set correctly by /etc/profile, but no such lock when ssh-ldap-pubkey-wrapper is run by sshd as /usr/local does not get added to PATH for it.

For now I have added an export of PATH to ssh-ldap-pubkey-wrapper, but there are probably better solutions.