Bug 116999 - redhat-config-users crashes when adding a user without a built-in group or home directory
Summary: redhat-config-users crashes when adding a user without a built-in group or ho...
Status: CLOSED DUPLICATE of bug 89895
Alias: None
Product: Red Hat Linux
Classification: Retired
Component: redhat-config-users   
(Show other bugs)
Version: 9
Hardware: i386
OS: Linux
Target Milestone: ---
Assignee: Brent Fox
QA Contact: David Lawrence
Depends On:
TreeView+ depends on / blocked
Reported: 2004-02-27 08:02 UTC by will jaspers
Modified: 2007-04-18 17:03 UTC (History)
0 users

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2006-02-21 19:01:40 UTC
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

Description will jaspers 2004-02-27 08:02:16 UTC
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):

How reproducible:

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

Actual Results:  [root@mytoast joeb]# redhat-config-users
Traceback (most recent call last):
  File "/usr/share/redhat-config-users/userWindow.py", line 315, in 
    self.addToUsersGroup(userEnt, userName)
  File "/usr/share/redhat-config-users/userWindow.py", line 332, in 
    cn = groupEnt.get(libuser.GROUPNAME)[0]
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.

Additional info:

Comment 1 Brent Fox 2004-03-11 19:44:59 UTC

*** This bug has been marked as a duplicate of 89895 ***

Comment 2 Red Hat Bugzilla 2006-02-21 19:01:40 UTC
Changed to 'CLOSED' state since 'RESOLVED' has been deprecated.

Note You need to log in before you can comment on or make changes to this bug.