WELCOME Abdennour : Software engineer

Jan 6, 2013

How To change your Ubuntu username (rename account)?

Example :
we will  Change /prevname by /newname

So , you should deconnect from prevname account

Log in another user account . 

then : 

 sudo usermod -l newname -d /home/newname -m prevname

NoteTo rename a user you must change his login name AND transfer his /home to a new destination.

No comments:

Post a Comment