FS#472 - autologin feature of kdm and gdm does not work

Attached to Project: Arch Linux
Opened by Max Jedi (maxjedi) - Saturday, 21 February 2004, 23:03 GMT
Last edited by Damir Perisa (damir.perisa) - Thursday, 27 May 2004, 00:10 GMT
Task Type Bug Report
Category Packages: Extra
Status Closed
Assigned To Lou (cmf)
Architecture not specified
Severity Low
Priority Normal
Reported Version 0.6 Widget
Due in Version Undecided
Due Date Undecided
Percent Complete 0%
Votes 0
Private No

Details

kdm says "unable to authenticate user", gdm says "enter password for user XXXX" (it should NOT ask for password). I think it's not a problem of kdm and gdm - maybe something is wrong with system paths or permissions ?
This task depends upon

Closed by  Lou (cmf)
Saturday, 25 September 2004, 23:57 GMT
Reason for closing:  Not a bug
Comment by av (xirus) - Saturday, 13 March 2004, 21:24 GMT
http://bugs.kde.org/show_bug.cgi?id=68331

Yep, this is an archlinux problem, the solution has been posted in the link above, seems like a lot of other distro's had the same problem.
Comment by av (xirus) - Saturday, 13 March 2004, 21:33 GMT
The problem is we don't even have a /etc/pam.d/{xdm,kdm,kde} file or a mkpamserv script...
Comment by arjan timmerman (blaasvis) - Sunday, 21 March 2004, 11:05 GMT
well i will pass this through to judd... he maintains pam ;)
Comment by Judd Vinet (judd) - Sunday, 21 March 2004, 20:19 GMT
I've add an xdm.pam to xfree86 (didn't release a new package yet though). Arjan, you'll want to include a similar file for gdm. Once it's ready, pass this bug to Damir so he can do the same for kdm.
Comment by arjan timmerman (blaasvis) - Monday, 22 March 2004, 09:31 GMT
i have changed this in the new release for gnome 2.6 !

Damir you are next ;)
Comment by Damir Perisa (damir.perisa) - Wednesday, 24 March 2004, 11:36 GMT
just to make sure, because i never had something to do with pam-things:

i need to add a file /etc/pam.d/kde that contains:

#%PAM-1.0
auth required /lib/security/pam_stack.so service=system-auth
auth required /lib/security/pam_nologin.so
account required /lib/security/pam_stack.so service=system-auth
password required /lib/security/pam_stack.so service=system-auth
session required /lib/security/pam_stack.so service=system-auth
session optional /lib/security/pam_console.so

is this all?
Comment by arjan timmerman (blaasvis) - Saturday, 10 April 2004, 15:16 GMT
#%PAM-1.0
auth required pam_env.so
auth required pam_unix.so
auth required pam_nologin.so
account required pam_unix.so
password required pam_unix.so
session required pam_unix.so
session optional pam_console.so

This should work, does kdm need an autologin thingy also ?


Comment by Damir Perisa (damir.perisa) - Monday, 12 April 2004, 00:32 GMT
thanx for your answer ...

> This should work, does kdm need an autologin thingy also ?

i dont know, but think so, as it exist as feature
Comment by Damir Perisa (damir.perisa) - Thursday, 27 May 2004, 00:10 GMT
i added PAM since 3.2.2 but as noone gives me feedback, this stays open
Comment by av (xirus) - Friday, 28 May 2004, 21:49 GMT
it works :)
thx

Loading...