Red Hat Bugzilla – Bug 78619
deleting a user fails to cleanup leftover files and directories
Last modified: 2007-04-18 12:48:43 EDT
From Bugzilla Helper:
User-Agent: Mozilla/5.0 Galeon/1.2.6 (X11; Linux i686; U;) Gecko/20020830
Description of problem:
When you delete a user, the user is effectively deleted (as far as the system is
concerned), but the home directory and mail spool files still remain.
An option should allow the administrator to remove these left over directories
and files should be provided. This option should be optional so that the
administrator can back these files up - however, on systems where users are
constantly added and deleted, it is important to clean these potentially large
directories and/or files.
Another option to remove any files belonging to said user could be provided to
further clean a system with leftovers.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. Delete a user that no longer needs an account using the redhat-config-users
Actual Results: User is "deleted" but leftover files remain.
Expected Results: *see description*
$ rpm -qf `which redhat-config-users`
*** Bug 78620 has been marked as a duplicate of this bug. ***
I filed Bug 78620 (which you marked as a duplicate) - one bug deals with left
over files. One bug deals with the inability for the application to remove an
entry in the groups file. Are they necessarily duplicate?
Sorry, I read too quickly. Thanks for the correction.
Ok, redhat-config-users-1.1.2-1 now pops up a dialog asking you if you want to
delete the user's home directory. Thanks for your report.
QA, please verify.
The dialog is present, but broken. If you click no, then the dialog exits and
the directory remains, *however* if you click yes, then the dialog remains, and
becomes stuck (so that neither button closes it) and the home directory is not
Also, then dialog does not appear at all when the user does not have a private
(You can kill the dialog with the X in on the window dressing, btw)
I propose this feature be merged with the other user delete options.
Please see bug#69712
I agree that the delete dialogs should be merged. However, I'm unable to
reproduce the problem with the program hanging when clicking "No" in the popup
Actually, merging the dialogs was going to look pretty clunky UI wise (it
already was clunky with two separate dialogs anyway. So I've removed the group
deletion dialog (see bug #78620 for explanation).
Therefore, the dialogs don't need to be merged since the home directory deletion
dialog is the only one shown. Also, the dialog will not be shown if the user
has no home directory. Please test with redhat-config-users-1.1.3-3