[Bug 315002] Re: Changing your password does not allow admin authentication before session is restarted

2011-02-24 Thread Bug Watch Updater
** Changed in: policykit
   Status: Confirmed = Fix Released

-- 
You received this bug notification because you are a member of Ubuntu
Desktop Bugs, which is subscribed to gnome-system-tools in ubuntu.
https://bugs.launchpad.net/bugs/315002

Title:
  Changing your password does not allow admin authentication before
  session is restarted

-- 
desktop-bugs mailing list
desktop-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/desktop-bugs


[Bug 315002] Re: Changing your password does not allow admin authentication before session is restarted

2011-02-23 Thread Milan Bouchet-Valat
Upstream said it is the intended behavior: users for which password has
expired shouldn't be allowed to authenticate until they have logged out
and in back, so that they change their password.

** Changed in: policykit (Ubuntu)
   Status: Triaged = Invalid

-- 
You received this bug notification because you are a member of Ubuntu
Desktop Bugs, which is subscribed to gnome-system-tools in ubuntu.
https://bugs.launchpad.net/bugs/315002

Title:
  Changing your password does not allow admin authentication before
  session is restarted

-- 
desktop-bugs mailing list
desktop-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/desktop-bugs


[Bug 315002] Re: Changing your password does not allow admin authentication before session is restarted

2011-02-03 Thread Bug Watch Updater
** Changed in: policykit
   Importance: Unknown = Medium

-- 
You received this bug notification because you are a member of Ubuntu
Desktop Bugs, which is subscribed to gnome-system-tools in ubuntu.
https://bugs.launchpad.net/bugs/315002

Title:
  Changing your password does not allow admin authentication before
  session is restarted

-- 
desktop-bugs mailing list
desktop-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/desktop-bugs


[Bug 315002] Re: Changing your password does not allow admin authentication before session is restarted

2011-01-25 Thread Bug Watch Updater
** Changed in: policykit
   Importance: Medium = Unknown

-- 
You received this bug notification because you are a member of Ubuntu
Desktop Bugs, which is subscribed to gnome-system-tools in ubuntu.
https://bugs.launchpad.net/bugs/315002

Title:
  Changing your password does not allow admin authentication before
  session is restarted

-- 
desktop-bugs mailing list
desktop-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/desktop-bugs


[Bug 315002] Re: Changing your password does not allow admin authentication before session is restarted

2009-12-05 Thread Milan Bouchet-Valat
Hmm... Charlie, I did not notice your step:
3. enter sudo passwd expiry USER1
Is there a specific reason why you didn't use the standard 'passwd' command? 
Could you post the log when using it? Don't even use 'sudo passwd', as it 
doesn't work the same way. Does it work then?

Anyway, the gnome-system-tools don't use passwd -e since they only
support usermod...

** Changed in: gnome-system-tools (Ubuntu)
   Status: Triaged = Confirmed

-- 
Changing your password does not allow admin authentication before session is 
restarted
https://bugs.launchpad.net/bugs/315002
You received this bug notification because you are a member of Ubuntu
Desktop Bugs, which is subscribed to gnome-system-tools in ubuntu.

-- 
desktop-bugs mailing list
desktop-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/desktop-bugs


[Bug 315002] Re: Changing your password does not allow admin authentication before session is restarted

2009-12-05 Thread Charlie Kravetz
Attempting to do anything in Ubuntu/Xubuntu to a password with out using
sudo results in permission denied. Since the root account is locked,
we can not make a change without sudo. However, I did type that line
wrong. Here is the actual lines from terminal:

jhtad...@justhaveto:~$ passwd -e jhtadmin
passwd: Permission denied.
jhtad...@justhaveto:~$ sudo passwd -e jhtadmin
[sudo] password for jhtadmin: 
passwd: password expiry information changed.
jhtad...@justhaveto:~$ 

As you see, it denies permission without sudo.

The only log I can find with anything in it about the password change is
auth.log. I am attaching today's copy, showing the transactions from
today. Not even my .xsession_errors shows anything. Am I missing a log
entry?

** Attachment added: /var/log/auth.log dated 2009-12-05
   http://launchpadlibrarian.net/36473448/auth.log

-- 
Changing your password does not allow admin authentication before session is 
restarted
https://bugs.launchpad.net/bugs/315002
You received this bug notification because you are a member of Ubuntu
Desktop Bugs, which is subscribed to gnome-system-tools in ubuntu.

-- 
desktop-bugs mailing list
desktop-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/desktop-bugs


[Bug 315002] Re: Changing your password does not allow admin authentication before session is restarted

2009-12-05 Thread Milan Bouchet-Valat
That doesn't work because you're passing the '-e' option, which means:
mark the password for expiration to force the user changing it on next
login. That operation requires admin rights. BUT please simply use
'passwd', without anything else.

(This is the best way of changing passwords in the general case, because
it asks you to enter your old password, meaning that gnome-keyring and
eCryptfs will be able to update the passphrase they use to encrypt our
data at the same time.)

-- 
Changing your password does not allow admin authentication before session is 
restarted
https://bugs.launchpad.net/bugs/315002
You received this bug notification because you are a member of Ubuntu
Desktop Bugs, which is subscribed to gnome-system-tools in ubuntu.

-- 
desktop-bugs mailing list
desktop-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/desktop-bugs


[Bug 315002] Re: Changing your password does not allow admin authentication before session is restarted

2009-12-05 Thread Charlie Kravetz
And, it works! Changing the password in terminal allows immediate use of
the new password.

jhtad...@justhaveto:~$ passwd
Changing password for jhtadmin.
(current) UNIX password: 
Enter new UNIX password: 
Retype new UNIX password: 
passwd: password updated successfully
jhtad...@justhaveto:~$ 

I have never used it before for this, but it is a good work-around for
this bug. It does not require the user to log out and log in to use the
new password. It is usable for authentication immediately.

-- 
Changing your password does not allow admin authentication before session is 
restarted
https://bugs.launchpad.net/bugs/315002
You received this bug notification because you are a member of Ubuntu
Desktop Bugs, which is subscribed to gnome-system-tools in ubuntu.

-- 
desktop-bugs mailing list
desktop-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/desktop-bugs


[Bug 315002] Re: Changing your password does not allow admin authentication before session is restarted

2009-12-05 Thread Milan Bouchet-Valat
That's not a workaround, that's the normal procedure. Why would you use
'passwd -e' in the first place, if you want ot change your own password?

The only bug I can see here is that PolicyKit should allow users to
authenticate even if their password is marked for expiration until they
log change it. Though, maybe there's a rationale for not doing so...

** Changed in: gnome-system-tools (Ubuntu)
   Status: Confirmed = Invalid

-- 
Changing your password does not allow admin authentication before session is 
restarted
https://bugs.launchpad.net/bugs/315002
You received this bug notification because you are a member of Ubuntu
Desktop Bugs, which is subscribed to gnome-system-tools in ubuntu.

-- 
desktop-bugs mailing list
desktop-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/desktop-bugs


[Bug 315002] Re: Changing your password does not allow admin authentication before session is restarted

2009-12-05 Thread Milan Bouchet-Valat
** Bug watch added: freedesktop.org Bugzilla #25461
   https://bugs.freedesktop.org/show_bug.cgi?id=25461

** Also affects: policykit via
   https://bugs.freedesktop.org/show_bug.cgi?id=25461
   Importance: Unknown
   Status: Unknown

-- 
Changing your password does not allow admin authentication before session is 
restarted
https://bugs.launchpad.net/bugs/315002
You received this bug notification because you are a member of Ubuntu
Desktop Bugs, which is subscribed to gnome-system-tools in ubuntu.

-- 
desktop-bugs mailing list
desktop-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/desktop-bugs


[Bug 315002] Re: Changing your password does not allow admin authentication before session is restarted

2009-12-05 Thread Bug Watch Updater
** Changed in: policykit
   Status: Unknown = Confirmed

-- 
Changing your password does not allow admin authentication before session is 
restarted
https://bugs.launchpad.net/bugs/315002
You received this bug notification because you are a member of Ubuntu
Desktop Bugs, which is subscribed to gnome-system-tools in ubuntu.

-- 
desktop-bugs mailing list
desktop-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/desktop-bugs


[Bug 315002] Re: Changing your password does not allow admin authentication before session is restarted

2009-12-04 Thread Steve Langasek
 Dec  4 13:12:40 justhaveto sudo: jhtadmin : TTY=pts/0 ; PWD=/home/jhtadmin ; 
 USER=root ; COMMAND=/usr/bin/passwd -e jhtadmin
snip
 Dec  4 13:13:11 justhaveto polkit-agent-helper-1[1537]: 
 pam_unix(polkit-1:account): expired password for user jhtadmin (root enforced)
 Dec  4 13:13:38 justhaveto gdm-session-worker[1231]: pam_unix(gdm:session): 
 session closed for user jhtadmin
 Dec  4 13:14:02 justhaveto gdm-session-worker[1612]: pam_unix(gdm:account): 
 expired password for user jhtadmin (root enforced)
 Dec  4 13:16:41 justhaveto gdm-session-worker[1612]: pam_unix(gdm:chauthtok): 
 password changed for jhtadmin
 Dec  4 13:16:41 justhaveto gdm-session-worker[1612]: gkr-pam: changed 
 password for 'login' keyring
 Dec  4 13:16:41 justhaveto gdm-session-worker[1612]: pam_unix(gdm:session): 
 session opened for user jhtadmin by (uid=0)

Not a bug in pam.  This is a combination bug in whatever is calling
'passwd -e' here, and in policy kit for not supporting the full PAM
interaction necessary to permit password changes on expiry.

** Package changed: pam (Ubuntu) = gnome-system-tools (Ubuntu)

** Also affects: policykit (Ubuntu)
   Importance: Undecided
   Status: New

** Changed in: policykit (Ubuntu)
   Status: New = Triaged

** Changed in: policykit (Ubuntu)
   Importance: Undecided = Low

-- 
Changing your password does not allow admin authentication before session is 
restarted
https://bugs.launchpad.net/bugs/315002
You received this bug notification because you are a member of Ubuntu
Desktop Bugs, which is subscribed to gnome-system-tools in ubuntu.

-- 
desktop-bugs mailing list
desktop-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/desktop-bugs