Red Hat Bugzilla – Bug 198152
Created users have got a wrong group
Last modified: 2007-11-30 17:11:37 EST
Description of problem:
Created users have got a wrong group, if the user without an own group is not at
the end of the list.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. Create a user team1 with own group:
2. Result user team1 (501) / group team1 (501)
3. Create a user klaus without own group:
4. Result user klaus (502) / group users
5. Create a user team2 with own group:
6. Result user team2 (503) / group 503 (group 503 doesn't exist)
7. The added group is team2 but with group id 502.
8. If you add more users, all users to groups will have a row shift with faulty
relations to users and groups.
This should be fixed in system-config-users-1.2.45 which should hit
Rawhide/development shortly. Can you please try whether
system-config-users-1.2.45-1.fc6.noarch.rpm fixes that problem once it hits the
mirrors? You might revert to your older version of s-c-users as this version
contains a new uid/gid number choosing implementation that isn't toroughly
I need some help from you for the testing, as I didn't in the past.
I use the Yum Extender for my RPMs. For my tests I have got a pc with a fc5
x86_64 at this time.
Which are the steps to install system-config-users-1.2.45 on my fc5 for testing?
Yum Exteder tells me: Removing for dependencies to firstboot and
Must I uninstall system-config-users-1.2.42 first?
You'd have to download the package from e.g.:
Afterwards install it with yum (not yumex) like this:
yum localinstall system-config-users-1.2.45-1.fc6.noarch.rpm
Or rather system-config-users-1.2.46-1.fc6.noarch.rpm, as it contains numerous
fixes over 1.2.45.
I imported the key for my x86_64 pc with yum:
I downloaded the file from:
Installed from local:
yum localinstall system-config-users-1.2.46-1.fc6.noarch.rpm
I got the error message:
Package system-config-users-1.2.46-1.fc6.noarch.rpm is not signed
How to install the package?
Unfortunately, Rawhide packages are regularly not signed. To install the
package, you need to temporarily change
in /etc/yum.conf, then install the package, then change it back.
I tested and it works fine. The unused group numbers (which were free) I used
later to create new test groups. I tried to give them used group numbers and got
an error message, that's OK. I can create new groups with the unused numbers.
I think that you fixed the error like descripted.
There are an other problem, but I don't know if it's a bug or a wish:
1. Existing user moving into an other primary group:
If I move an user into an existing other group and make it to his primary group,
the groups in the home directory will not be changed.
(Remark: If I change it with Konqueror it makes bugs. All files in the home
directory go to 0600.)
2. Creating new user:
It should be possible to select ANY GROUP when creating a new user.
At this time you only can create a new user with an own group or in the group users.
Please write me, what I shall do with the 2 last positions.
Please open separate BZ tickets for each of them, using the FutureFeature keyword.
I opened Bugzilla Bugs 201499 and 201500 for the last 2 positions.
Do you close this ticket or must I do it?