Answer the question
In order to leave comments, you need to log in
Folder name change due to change username how to do?
I had a chance to change the user from xxxxxx to yyyyyy , not add, but change, as well as the username in the terminal (using the usermod command). All OK. But I ran into a problem, the user's working folder, the one in the / home directory, remained under the name of the previous user xxxxxx , and the files that are in it are now unavailable for editing (mostly documents). How to do it right, rename this folder?
HER path /home/xxxxxx-user/...
Answer the question
In order to leave comments, you need to log in
Just rename /home/xxxxxx-user/ to /home/yyyyyy-user/ and change the permissions
but only the -m flag on usermod. although you did not read the help, apparently
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question