ssh-ldap-pubkey icon indicating copy to clipboard operation
ssh-ldap-pubkey copied to clipboard

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

Open sjorge opened this issue 4 years ago • 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.

sjorge avatar Jan 04 '20 14:01 sjorge