How do I change the home folder for an user used by process sshd?
2
votes
0
answers
194
views
I'm logged as
root
. Need to change home folder of another user but when I run usermod -d /path/to/new/home myuser
it returns:
usermod: user myuser is being used by process xxxx
Said process is sshd
. What do I do now? I'd rather not having to restart the server.
Note: it's a remote server. Will killing sshd
also log me out (I'm logged as root, not as myuser)?
Asked by Christopher Francisco
(311 rep)
Oct 7, 2016, 03:10 PM