Red Hat Bugzilla – Bug 116999
redhat-config-users crashes when adding a user without a built-in group or home directory
Last modified: 2007-04-18 13:03:37 EDT
From Bugzilla Helper:
User-Agent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1)
Description of problem:
I cannot add a user without a built-in group or home directory.
This is annoying as hell, especially since I work with MySQL a LOT
and am trying to create a user that will never have access to any
other packages (than MySQL) on my machine.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. connect to your redhat machine, REMOTELY with VNC
2. log in as the root user
3. run : redhat-config-users
4. enter some data for a NEW user:
username, password, confirm password,
5. choose login shell:
6. UNCHECK Create Home Directory
7. UNCHCEK Create a private group for the user
8. PRESS "OK"
Actual Results: [root@mytoast joeb]# redhat-config-users
Traceback (most recent call last):
File "/usr/share/redhat-config-users/userWindow.py", line 315, in
File "/usr/share/redhat-config-users/userWindow.py", line 332, in
cn = groupEnt.get(libuser.GROUPNAME)
AttributeError: 'NoneType' object has no attribute 'get'
Expected Results: It should have created a new user for me, but it
freaked out and the GUI locked up for this component.
*** This bug has been marked as a duplicate of 89895 ***
Changed to 'CLOSED' state since 'RESOLVED' has been deprecated.