Bug 1665442

Summary: 'Terminate Session' option in Cockpit->Accounts gets disabled while changing password using ''Force Change''.
Product: Red Hat Enterprise Linux 8 Reporter: Rohit Keshri <rkeshri>
Component: cockpitAssignee: Matej Marušák <mmarusak>
Status: CLOSED ERRATA QA Contact: Jan Ščotka <jscotka>
Severity: high Docs Contact:
Priority: unspecified    
Version: ---CC: mmarusak, ovasik
Target Milestone: rc   
Target Release: 8.4   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2021-05-18 15:06:39 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
Reminate_session_Key_disabled none

Description Rohit Keshri 2019-01-11 13:00:52 UTC
Created attachment 1520019 [details]
Reminate_session_Key_disabled

Description of problem:

While making some change in password using cockpit interface by going into 'Accounts' and performing a 'Force Change', disables the 'Terminate Session' key.

This can be verified once you come back after changing the password to the 'Accounts', and it remains disabled throughout the session.

I have attached a screenshot for reference.

Version-Release number of selected component (if applicable):
kernel-4.18.0-32.el8.x86_64

How reproducible:


Steps to Reproduce:
1.
2.
3.

Actual results:
'Terminate Session' key should be available for the user.

Expected results:
'Terminate Session' key gets disabled when you ply with the password change.

Additional info:
Adding a screenshot

Comment 2 Matej Marušák 2020-11-19 20:45:17 UTC
Just tried the following:
1. Login in as `admin` that has administrative privileges
2. Also login in as `anton` to have some user with active session
3. As `admin` got to `anton`s user overview. The `Terminate session` button is active.
4. Enforce change
5. The `Terminate session` button is still active. I can click it and kill anton's session. When this user logs again it prompted to change the password.

Also tried it on the current logged in user. Also works.

You haven't provided cockpit version, but from screenshot it is something very old. So I think it is safe to assume it got fixed in the meantime.
If you can still reproduce and provide us with cockpit-system version, that would be great.

Other possibility is that upon enforcing the password change the user session was terminated.

Comment 8 errata-xmlrpc 2021-05-18 15:06:39 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory (cockpit bug fix and enhancement update), and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHBA-2021:1684