I am using Xubuntu 11.10 and trying to change a users username. There doesn't seem to be a way to change this through the GUI in Xubuntu, so I am wondering if there is a way to do it without the GUI. Maybe changing the setting in a config file. Any help would be greatly appreciated.
First open a terminal, become root
Next use the following commands,
change "old" to the old user name, and "new" to the new desired name.
The first command moves your home directory, see man usermod
The sed command changes the name in
The system otherwise identifies users by number, not name, so your file ownership and permissions will be fine
To see your numerical id, run the command