I installed Ubuntu on a computer that is now used by somebody else. I renamed the account with her name, but it only changes the fullname, not the user name, which is still displayed in the top right (in the
fast-user-switch-applet). Is there a command to rename an Unix user account?
I've thought of creating a new user account with the new name, and then copying everything in the "old" home to the home of the new account. Would it be enough? But then I think the files would have the old account's permissions' owner? So should I do
chown -R newuser ~?
Is there a simpler/recommended way to do this?