google-fu: "ubuntu how to change userid" : first result:

killall -u old
id old
usermod -l new old
groupmod -n new old
usermod -d /home/new -m new
usermod -c “New Real Name” new
id new

(from http://www.cyberciti.biz/faq/howto-change-rename-user-name-id/ )

I just tested it with Ubuntu 810 in a virtual box; the stuff on the
desktop was there afterward, etc.  Oh, goes without saying (but
sometimes I am like Pooh, with Very Little Brain) that you do not want
to be logged in as "old" when you are going through the above steps.

Theresa


--~--~---------~--~----~------------~-------~--~----~
Central West End Linux Users Group (via Google Groups)
Main page: http://www.cwelug.org
To post: [email protected]
To subscribe: [email protected]
To unsubscribe: [email protected]
More options: http://groups.google.com/group/cwelug
-~----------~----~----~----~------~----~------~--~---

Reply via email to