View previous topic :: View next topic |
Author |
Message |
v_andal Guru
Joined: 26 Aug 2008 Posts: 541 Location: Germany
|
Posted: Tue May 24, 2011 10:27 am Post subject: PAM authentication in SLIM |
|
|
There's one interesting "feature" in Slim with PAM authentication. If configuration for slim says
Quote: |
default_user user
focus_password yes
|
then first login shall fail. If I remove the "focus_password" line, so that I have to acknowledge the user name by hitting Enter,
then login works. The most interesting here is the fact that when doing preview of the theme with "slim -p" everything works correctly.
Looks like the problem is with call to pam_set_item. It should set the user name for authentication. Indeed, after call to this function the
pam_authenticate does not want to obtain the user name, only password. Nevertheless, at testing time it works with supplied user name, at
real login time it reports that
Quote: |
[slim] pam_tally2(slim:auth): pam_get_uid; no such user
|
I'm no good at PAM. Maybe someone has an idea, why at login time the pam_set_item(PAM_USER) fails to provide user name for authentication? |
|
Back to top |
|
|
Da Fox Guru
Joined: 06 Jul 2005 Posts: 341
|
Posted: Wed Jun 08, 2011 9:44 pm Post subject: |
|
|
There is actually a bug-report for this issue, please take a look at bug #252280 _________________ "Man fears the darkness, and so he scrapes away at the edges of it with fire."
- Rei Ayanami
JGBE, a Java based GameBoy Emulator |
|
Back to top |
|
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|