0
I just changed the username of an existing user by doing:
usermod -l new_username old_username
and now I wanted to change the home directory using the following:
chown -R root.new_username .bash* .profile /home/new_username
however it always gives me:
chown: invalid user: `root.newuser'
What is wrong?
Something is wrong what you are doing and I don't get it why you want to change root user files owner.
Do you trying to rename the root user folder and owner of the files.
whay is the connection between root, old_user and new_user? – Sencer H. – 2014-06-27T14:25:53.373
I thing your answer is here: http://askubuntu.com/questions/34074/how-do-i-change-my-username
– Sencer H. – 2014-06-27T14:39:58.223