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

Not working with newly created user in ubuntu 12.0.4 #2

Open
Prawyn opened this issue Apr 7, 2014 · 1 comment
Open

Not working with newly created user in ubuntu 12.0.4 #2

Prawyn opened this issue Apr 7, 2014 · 1 comment

Comments

@Prawyn
Copy link

Prawyn commented Apr 7, 2014

Hi,
I tried this module with login service. Its working with the user, which we created during os (ubuntu 12.0.4) installation. And we created some other users with adduser command. For that users I am getting this issue,

$ python pam.py -a deepak #Command I userd
<PamException 7 'Authentication failure'>

Please help me to fix this issue.

@gnosek
Copy link
Owner

gnosek commented Apr 7, 2014

W dniu 07.04.2014 09:58, Prawyn pisze:

Hi,
I tried this module with login service. Its working with the user, which
we created during os (ubuntu 12.0.4) installation. And we created some
other users with adduser command. For that users I am getting this issue,

$ python pam.py -a deepak #Command I userd
<PamException 7 'Authentication failure'>

Please help me to fix this issue.

This is an error from PAM, not from python-pam, look in syslog for error
messages (/var/log/syslog probably).

Maybe you created this user with locked login access or something. Maybe
try using a different service (like ssh or sshd, I never remember which
one).

Anyway, python-pam is just the messenger reporting that PAM failed to
authenticate your user.

Best regards,
Grzegorz Nosek

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

2 participants