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...
Keywords:
Status: CLOSED DUPLICATE of bug 89895
Alias: None
Product: Red Hat Linux
Classification: Retired
Component: redhat-config-users
Version: 9
Hardware: i386
OS: Linux
medium
high
Target Milestone: ---
Assignee: Brent Fox
QA Contact: David Lawrence
URL:
Whiteboard:
Depends On:
Blocks:
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:
Clone Of:
Environment:
Last Closed: 2006-02-21 19:01:40 UTC
Embargoed:


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):
redhat-config-users-1.1.5-7

How reproducible:
Always

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:
   /sbin/nologin
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 
on_userWin_ok_button_clicked
    self.addToUsersGroup(userEnt, userName)
  File "/usr/share/redhat-config-users/userWindow.py", line 332, in 
addToUsersGroup
    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.