Red Hat Bugzilla – Bug 142158
can't edit uid 500
Last modified: 2007-11-30 17:10:56 EST
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.5)
Description of problem:
When I try to edit the properties of uid 500 nothing happens (the
properties window does not appear). I get the following on the console:
[root@himelrick ~]# system-config-users
Traceback (most recent call last):
File "/usr/share/system-config-users/mainWindow.py", line 747, in
File "/usr/share/system-config-users/mainWindow.py", line 756, in
File "/usr/share/system-config-users/userProperties.py", line 230,
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:
2.select 1st user, in my case the first user is uid 500
Actual Results: Nothing happens other that a traceback on the console.
Expected Results: Should bring up the properties dialog to mofidy the
The only other user I have (uid 501) works fine.
Created attachment 108090 [details]
debugging version of userProperties.py
Please save a copy of /usr/share/system-config-users/userProperties.py and put
this version into /usr/share/system-config-users/ and try again. It contains
some debugging statement which may help us to narrow down the problem.
Please copy the relevant lines of /etc/passwd and /etc/shadow for both (the
working and non-working user) here, be sure to edit out the encrypted passwords
(everything between first and second colon) and mark these comments as private
so only we may see them.
Created attachment 108224 [details]
traceback with debug version of userProperties.py
How do you mark attachments or comments as private?
Hmm, seems only we can do this (to keep things RH internal). Pity -- in that
case you might want to obfuscate usernames as well additionally to removing the
Here you go.
I've issued an update -- system-config-users-1.2.41 -- for FC4 and
Rawhide/devel, it has code that may fix your problem (the symptoms were
similar). Please try this and report back.
I have not been using the gui user config for some time now, so I don't know
when this started working again. But I'm on an upgraed FC4
(system-config-users-1.2.41-0.fc4.1) now and I cannot reproduce the bug. So...
I don't know what to tell you other than it works now :)
Good to hear :-).