Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
sjorge opened this issue Jan 4, 2020 · 0 comments
Open

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

sjorge opened this issue Jan 4, 2020 · 0 comments

Comments

@sjorge
Copy link

sjorge commented Jan 4, 2020

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant