GDM has no "change password" option

Bug #114620 reported by Fernando Ribeiro
40
This bug affects 5 people
Affects Status Importance Assigned to Milestone
gdm
Unknown
Medium
gdm (Ubuntu)
Triaged
Wishlist
Unassigned

Bug Description

Binary package hint: gdm

While using samba authentication for my workstations and the password of users has expire after 30 days.
GDM show the message of expired password, but gives no way to change it

Revision history for this message
Dennis Francis (dennisfrancis) wrote :

Thanks for the report. This is a feature request. Assigning to Ubuntu Desktop Bugs.

Changed in gdm:
assignee: nobody → desktop-bugs
status: Unconfirmed → Confirmed
Revision history for this message
Dennis Francis (dennisfrancis) wrote :

Correction. This could be a genuine bug. (not RFE)

Could you mention the version of gdm and Gnome you are using.

Changed in gdm:
status: Confirmed → Needs Info
Revision history for this message
Fernando Ribeiro (ipsec) wrote :

GDM 2.18.1-0ubuntu1

Exists some way to enable this option?

Revision history for this message
Sebastien Bacher (seb128) wrote :

how do you want to change your password if your account has expired?

Changed in gdm:
importance: Undecided → Low
Revision history for this message
Sebastien Bacher (seb128) wrote :

upstream http://bugzilla.gnome.org/show_bug.cgi?id=356109 is about that and states it should be done by a pam module

Changed in gdm:
assignee: desktop-bugs → nobody
importance: Low → Wishlist
status: Needs Info → Unconfirmed
Changed in gdm:
status: Unknown → Rejected
Revision history for this message
Steve Langasek (vorlon) wrote :

Sorry, but this is not a PAM bug. Password changing is a completely separate application entry point from authentication, in PAM; it is the responsibility of the calling application to handle a return of PAM_NEW_AUTHTOK_REQD from pam_acct_mgmt(), indicating that the user must change his password. If gdm isn't doing that, that's a gdm bug.

If gdm *is* handling PAM_NEW_AUTHTOK_REQD correctly, then the problem is that this is never the value that's being returned, which means one of two things: either the PAM module in use is buggy (which I don't think is the case here because I've used pam_winbind+password expiry fine in the past with no problems), or the Windows domain is configured to immediately lock accounts out upon password expiry. The last case is certainly not something that we can fix...

Separately, there seems to be a wishlist request (in the upstream bug) to allow a user to change their password from within GDM itself even when it's not expired. I don't know how that would work, because the information that the password will expire /soon/ is entirely advisory and not part of the PAM spec, so the user would never see this information until after they'd successfully logged in. That part is probably a general GNOME bug rather than a GDM bug, then.

Revision history for this message
Jesse N. Richardson (richardson183) wrote :

This would cause a serious security issue.

Changed in gdm (Ubuntu):
status: New → Invalid
Revision history for this message
Steve Langasek (vorlon) wrote :

Huh? Where's the security issue in giving users an interface for changing their password?

Changed in gdm (Ubuntu):
status: Invalid → Triaged
Revision history for this message
David Tomaschik (matir) wrote :

Not only do I not see a security issue, but I believe this would also fit the use case of "User must change password on first login." Some mechanism for forcing password change is essential in GDM/PAM.

Revision history for this message
thenamelessthing (pgagne) wrote :

Any news about this feature request?

Revision history for this message
Maxxer (lorenzo-milesi) wrote :

I have similar need using pam_winbind login, to access a PDC (samba in my case).
On Windows I am offered to change the password, on Ubuntu 10.04/GDM I just see a message below login saying "Your password is expired" but I can login anyway.

Revision history for this message
renbag (renbag) wrote :

In my setup within an AD network, when my password is in the expiration period I can barely see the warning in the GDM login window for a fraction of a second. A normal user would not even notice it.
Introducing the option of changing the password when it is in the expiration period would also allow a user to be notified of this.

Changed in gdm:
importance: Unknown → Medium
status: Invalid → Unknown
Revision history for this message
Guimenez (guimenez) wrote :

Please any news on this?

in my Ubuntu 10.10 when a user that has is password almost expired, the gdm display a message "your password will expire in ... days" and doesn't login :(

what can i do please?

thanks

guimenez

Revision history for this message
Jason Gunthorpe (jgunthorpe) wrote :

Just had this happen here too, using pam_winbind - gdm displayed the password has expired message and then it locked up :( On maverick

Revision history for this message
renbag (renbag) wrote :

This happened to me also (again) and is reported as a new bug: https://bugs.launchpad.net/ubuntu/+source/gdm/+bug/613371

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.