Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 3157

Summary: gdm-2.3.90.3 does not authorize users
Product: Gentoo Linux Reporter: Andreas Simon <andreas.w.simon>
Component: Current packagesAssignee: Spider (RETIRED) <spider>
Status: RESOLVED FIXED    
Severity: normal    
Priority: High    
Version: 1.2   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Andreas Simon 2002-05-29 04:27:23 UTC
Bug: 
Nobody can login via gdm. Everyone always gets the 
error message "Wrong username or password, yada yaha" 
 
Why: 
Gdm is not able to authorize users. 
 
Reason: 
Pam services are missing for gdm. The following 
file is missing: /etc/pam.d/gdm 
Also to be able to use gdmconfig the following file 
should be there too: /etc/pam.d/gdmconfig. 
 
/etc/pam.d/gdm: 
#%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 
 
/etc/pam.d/gdmconfig: 
#%PAM-1.0 
auth       sufficient   /lib/security/pam_rootok.so 
auth       required     /lib/security/pam_stack.so service=system-auth 
session    required     /lib/security/pam_permit.so 
session    optional     /lib/security/pam_xauth.so 
account    required     /lib/security/pam_permit.so 
 
 
Cheers, 
Andreas
Comment 1 Spider (RETIRED) gentoo-dev 2002-05-29 17:06:14 UTC
big thanks for this report, seems that gdm wasnt tested without gdm already
installed :)

Fixing this now (cloing the old gdm structure )
Comment 2 Spider (RETIRED) gentoo-dev 2002-05-29 17:42:02 UTC
commited the necessary files, bumped the version and updated the gnome wrapper
scripts. anyone who does emerge -pu world will get the new files