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 do not have shadow passwords enabled, clicking on users and then properties causes a python traceback to be shown and the dialog does not come up. Version-Release number of selected component (if applicable): system-config-users-1.2.27-0.EL4.1 How reproducible: Always Steps to Reproduce: 1.dont use shadow passwords 2.click on a user in system-config-users 3.click on properties Actual Results: the dialog does not come up and a traceback is shown Traceback (most recent call last): File "/usr/share/system-config-users/mainWindow.py", line 739, in on_properties_activate self.user_properties() File "/usr/share/system-config-users/mainWindow.py", line 748, in user_properties self.userProperties.showUserProperties(userEnt) File "/usr/share/system-config-users/userProperties.py", line 230, in showUserProperties if int(min[0]) == 0 and int(max[0]) == 99999 and int(warning[0]) == 7 and int(inactive[0]) == -1: IndexError: list index out of range Expected Results: should show the dialog and not give a traceback Additional info:
Created attachment 118919 [details] patch to fix the not having shadow passwords problem this patch checks to see if shadow is enabled, and if its not do not try to initialize the shadow variables, since they are not needed.
Fixed in system-config-users-1.2.40 in Rawhide.