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

local logins don't work #139

Open
nferch opened this issue Oct 22, 2018 · 3 comments
Open

local logins don't work #139

nferch opened this issue Oct 22, 2018 · 3 comments

Comments

@nferch
Copy link

nferch commented Oct 22, 2018

The PAM module fails with login[PID]: Error in Duo login for 'username' from error.

This is due to the PAM module assuming PAM_RHOST is set, which is not the case for a console login spawned by getty.

There does not appear to be a convenient way to set this with systemd, agetty, /bin/login or PAM, so perhaps the PAM module could be changed to emit populate this field if it isn't already set?

@vbscott
Copy link
Contributor

vbscott commented Aug 13, 2019

Thank you for bringing this up and sorry for the late response. I wanted to let you know that we are tracking this.

@AaronAtDuo
Copy link
Contributor

@nferch Can you clarify what you are asking for in your last sentence? I'm not sure I understand.

@nferch
Copy link
Author

nferch commented Feb 21, 2024

@nferch Can you clarify what you are asking for in your last sentence? I'm not sure I understand.

whoops, an extra word got in there somehow.

I think I was suggesting that the PAM module shouldn't assume logins are remote and handle a missing PAM_RHOST variable without erroring out. In its current form it isn't possible to use DUO for console logins.

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

3 participants