After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 650575 - Automatic login screen hangs if password expires
Automatic login screen hangs if password expires
Status: RESOLVED OBSOLETE
Product: gdm
Classification: Core
Component: general
2.32.x
Other Linux
: Normal major
: ---
Assigned To: GDM maintainers
GDM maintainers
Depends on:
Blocks:
 
 
Reported: 2011-05-19 12:22 UTC by Yongzhi Pan
Modified: 2018-05-24 10:35 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Yongzhi Pan 2011-05-19 12:22:40 UTC
I set up a password expire day for my desktop user, which is setup as automatic login user. When the day comes, the login screen hangs, only showing Ubuntu logo. If I turn off automatic login setting in /etc/gdm/custom.conf, then it will prompt you to change password.

I am using GDM 2.32.1 in Ubuntu natty.
Comment 1 Ray Strode [halfline] 2011-05-19 14:42:19 UTC
That's odd...We shouldn't even be running a pam module that checks /etc/shadow during autologin.  Can you post /etc/pam.d/gdm-autologin ?
Comment 2 Yongzhi Pan 2011-05-20 01:42:30 UTC
My /etc/pam.d/gdm-autologin (while automatic login is on):

#%PAM-1.0
auth    requisite       pam_nologin.so
auth    required        pam_env.so readenv=1
auth    required        pam_env.so readenv=1 envfile=/etc/default/locale
auth    required        pam_permit.so
@include common-account
session [success=ok ignore=ignore module_unknown=ignore default=bad] pam_selinux.so close
session required        pam_limits.so
@include common-session
session [success=ok ignore=ignore module_unknown=ignore default=bad] pam_selinux.so open
@include common-password
Comment 3 Ray Strode [halfline] 2011-05-20 01:50:07 UTC
can you post your /etc/pam.d/common-account file too?
Comment 4 Yongzhi Pan 2011-05-20 02:29:16 UTC
#
# /etc/pam.d/common-account - authorization settings common to all services
#
# This file is included from other service-specific PAM config files,
# and should contain a list of the authorization modules that define
# the central access policy for use on the system.  The default is to
# only deny service to users whose accounts are expired in /etc/shadow.
#
# As of pam 1.0.1-6, this file is managed by pam-auth-update by default.
# To take advantage of this, it is recommended that you configure any
# local modules either before or after the default block, and use
# pam-auth-update to manage selection of other modules.  See
# pam-auth-update(8) for details.
#

# here are the per-package modules (the "Primary" block)
account	[success=2 new_authtok_reqd=done default=ignore]	pam_unix.so 
account	[success=1 new_authtok_reqd=done default=ignore]	pam_winbind.so 
# here's the fallback if no module succeeds
account	requisite			pam_deny.so
# prime the stack with a positive return value if there isn't one already;
# this avoids us returning an error just because nothing sets a success code
# since the modules above will each just jump around
account	required			pam_permit.so
# and here are more per-package modules (the "Additional" block)
# end of pam-auth-update config
Comment 5 GNOME Infrastructure Team 2018-05-24 10:35:08 UTC
-- GitLab Migration Automatic Message --

This bug has been migrated to GNOME's GitLab instance and has been closed from further activity.

You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.gnome.org/GNOME/gdm/issues/66.