We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Hi,
I tried to test build and got following error. go build -buildmode=c-shared -o test-sudo.so
go build -buildmode=c-shared -o test-sudo.so
In /etc/pam.d/sudo I add auth sufficient /home/user/test-sudo/test-sudo.so
auth sufficient /home/user/test-sudo/test-sudo.so
When executing: sudo echo "test" in /var/log/auth.log I am getting error.
sudo: PAM unable to resolve symbol: pam_sm_authenticate sudo: PAM unable to resolve symbol: pam_sm_setcred
Do you have any idea what it could be?
Thank you.
The text was updated successfully, but these errors were encountered:
It looks like those symbols are defined in the pam_deny.so module. Try loading that module or linking your test module with it.
pam_deny.so
https://github.com/linux-pam/linux-pam/blob/a2fb0dd306db943e4165f530534b01d00298065f/modules/pam_deny/pam_deny.c#L13
Sorry, something went wrong.
No branches or pull requests
Hi,
I tried to test build and got following error.
go build -buildmode=c-shared -o test-sudo.so
In /etc/pam.d/sudo I add
auth sufficient /home/user/test-sudo/test-sudo.so
When executing: sudo echo "test" in /var/log/auth.log I am getting error.
Do you have any idea what it could be?
Thank you.
The text was updated successfully, but these errors were encountered: