Re: [gdm-list] GDM user authentication problem




Aldo:

Does your PAM implementation support debug?  On Solaris you can add the
keyword "debug" to a line in the pam configuration file to get syslog
debug output.  Not sure about your distro, you'ld need to check.  I
suspect that could highlight the error.  If the authentication is
failing, then PAM is the code doign the actual authentication.  GDM
just blindly passes the username/password/etc. information along to
PAM.

Brian


I also thougth the problem is related to PAM. However if I reset the system
when the problem happens I can login that one time, but not a second time.
It's really abnormal.

I inspected GDM's pam config file but nothing jumps out at me. See below:

cat /etc/pam.d/gdm
auth required pam_listfile.so onerr=succeed item=user sense=deny
file=/etc/bastille-no-login
#%PAM-1.0
auth       required     pam_env.so
auth       required     pam_stack.so service=system-auth
auth       required     pam_nologin.so
account    required     pam_stack.so service=system-auth
password   required     pam_stack.so service=system-auth
session    required     pam_stack.so service=system-auth
session    optional     pam_console.so

I have seen one or two references elsewhere in which someone either added
a line or took one out. But which one?

Also, I was checking GDM with /usr/sbin/gdmsetup, but nothing seems
out of place.
I feel like I'm looking for a needle in a haystack.

Thanks Brian.
~af

On Mon, Jun 30, 2008 at 5:07 PM, Brian Cameron <Brian Cameron sun com> wrote:
Aldo:

To me this looks like an issue with PAM, not GDM.

Brian


Hi - I'm new to GDM and need some advice.
I searched the archives and the web but found nothing relevant to
mandriva.

I have a user that has problems login into his system.
The log files show this error:

Jun 26 17:12:39 man190 gdm(pam_unix)[5692]: session closed for user jdoe
Jun 26 17:12:47 man190 gdm(pam_unix)[5692]: authentication failure;
logname= uid=0 euid=0 tty=:0 ruser= rhost=  user=jdoe
Jun 26 17:12:51 man190 gdm-binary[5692]: Couldn't authenticate user
Jun 26 17:12:57 man190 gdm(pam_unix)[5692]: authentication failure;
logname= uid=0 euid=0 tty=:0 ruser= rhost=  user=jdoe
Jun 26 17:13:01 man190 gdm-binary[5692]: Couldn't authenticate user
Jun 26 17:13:05 man190 gdm(pam_unix)[5692]: bad username []

Any pointer as to what causes that?
I'm running Mandriva Linux release 2006.0 (Official) for x86_64 and
gdm-2.8.0.4-1.3.20060mdk.

thanks.
~af
_______________________________________________
gdm-list mailing list
gdm-list gnome org
http://mail.gnome.org/mailman/listinfo/gdm-list




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]