Red Hat Bugzilla – Bug 168524
redhat-config-users will not show user properties if shadow passwords aren't used
Last modified: 2007-11-30 17:07:08 EST
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.10) Gecko/20050719 Red Hat/1.0.6-1.4.1 Firefox/1.0.6
Description of problem:
If you use authconfig-gtk and turn off shadow passwords, and then run redhat-config-users and click on a user, then click on properties you will get a traceback
Traceback (most recent call last):
File "/usr/share/redhat-config-users/mainWindow.py", line 723, in on_properties_activate
File "/usr/share/redhat-config-users/mainWindow.py", line 732, in user_properties
File "/usr/share/redhat-config-users/userProperties.py", line 214, in showUserProperties
if int(min) == 0 and int(max) == 99999 and int(warning) == 7 and int(inactive) == -1:
IndexError: list index out of range
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1.turn off shadow passwords
3.click on a user then click properties
Actual Results: you get the traceback show above
Expected Results: should show the properties dialog
Created attachment 118918 [details]
This patch fixes the issue.
this patch checks to see if shadow is enabled before loading the shadow
Fixed in system-config-users-1.2.40 in Rawhide.
An advisory has been issued which should help the problem
described in this bug report. This report is therefore being
closed with a resolution of ERRATA. For more information
on the solution and/or where to find the updated files,
please follow the link below. You may reopen this bug report
if the solution does not work for you.
CRM closed, closing this
Internal Status set to 'Resolved'
Status set to: Closed by Tech
Resolution set to: 'Auto Closed'
This event sent from IssueTracker by pdemauro