Comment 4 for bug 64724

Revision history for this message
Ricardo Pérez López (ricardo) wrote : Re: [edgy-beta] Adding user with name terminated by odd number doesn't create user

After some investigation, I've found this: The problem has nothing to do with the terminating numbers. It appears when you create users with any username.

The problem is: when you create more than one user, users-admin only creates the users you created in even positions.

Example:

0. Open users-admin. Use it to create users in the following steps. Don't close the utility never during the rest of the process.
1. Create a user called "one". Type "cat /etc/passwd" in a terminal to see that the user is created:
(one:x:1001:1004:one,,,,:/home/one:/bin/bash)
2. Create a user called "two". Type "cat /etc/passwd". "one" is gone. Only "two" is there:
(two:x:1002:1005:two,,,,:/home/two:/bin/bash)
3. Create a user called "three". Type "cat /etc/passwd". "one" reappears. "two" disappears. "three" is created:
(one:x:1001:1004:one,,,,:/home/one:/bin/bash
three:x:1003:1006:three,,,,:/home/three:/bin/bash)
4. Create a user called "four". Type "cat /etc/passwd". "one" and "three" disappears. "two" appears again. "four" is created:
(two:x:1002:1005:two,,,,:/home/two:/bin/bash
four:x:1004:1007:four,,,,:/home/four:/bin/bash)