I can't add a new user with the same name of one that has been deleted usind users-admin

Bug #393386 reported by Gabriel Silva
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
gnome-system-tools (Ubuntu)
Fix Released
Medium
Unassigned

Bug Description

I've deleted the user created during setup, using another account, with the su command and then running users-admin.
Then, i tried to add a new user with the same username, but users-admin says the user already exists.
I've tried adding the user with the useradd command. This works, but then the terminal doesn't seem properly configured. The terminal problem was the only problem i noticed using useradd.

I'm using Xubuntu 9.04

Revision history for this message
Gabriel Silva (ryukenden) wrote :

I forgot to say that i've also moved /home/user to another directory before trying to add the new user with users-admin.
useradd, as i said, worked, but the terminal doesn't seem to be properly configured. It only shows $ instead of user@computer, and, key like up and down don't work. Might it be because i'm using a Portuguese keyboard and language?

Revision history for this message
Gabriel Silva (ryukenden) wrote :

I forgot to say that i've also moved /home/user to another directory before trying to add the new user with users-admin.
useradd, as i said, worked, but the terminal doesn't seem to be properly configured. It only shows $ instead of user@computer, and, key like up and down don't work. Can the terminal problem be can be because i'm using a Portuguese keyboard and language instead of English? The keyboard is old. It doesn't have the Super/Windows key.

Revision history for this message
Charlie Kravetz (charlie-tca) wrote :

Thank you for reporting this issue. According to the help manual for 'users-admin', "The Users Administration Tool allows you add, delete and modify the existing users and groups in your system.". Normally, this tool requires you to log out and log in again for the changes to take effect. Did you try that?

Revision history for this message
Charlie Kravetz (charlie-tca) wrote :

Thank you for taking the time to report this bug and helping to make Ubuntu better. This bug did not have a package associated with it, which is important for ensuring that it gets looked at by the proper developers. You can learn more about finding the right package at https://wiki.ubuntu.com/Bugs/FindRightPackage. I have classified this bug as a bug in gnome-system-tools.

When reporting bugs in the future please use apport, either via the appropriate application's "Help -> Report a Problem" menu or using 'ubuntu-bug' and the name of the package affected. You can learn more about this functionality at https://wiki.ubuntu.com/ReportingBugs.

affects: ubuntu → gnome-system-tools (Ubuntu)
Changed in gnome-system-tools (Ubuntu):
status: New → Incomplete
Revision history for this message
Milan Bouchet-Valat (nalimilan) wrote :

The terminal problem comes from the fact that you're using 'useradd', while normal method on Debian systems is to use 'adduser'.

Though the real issue with users-admin is that in Jaunty we didn't remove user account, and failed silently when the home directory for a new user was already present. Those issues are fixed in Lucid, since we ask to remove home directory, and don't fail if it already exists. Thanks for reporting - you may want to test Lucid and check that this behavior works. Don't hope for a backport of the fix to Jaunty, though, as it required far too many changes.

Changed in gnome-system-tools (Ubuntu):
importance: Undecided → Medium
status: Incomplete → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.