Rotariu Bogdan-Stefan wrote:
Marcel Janssen wrote:That worked. I expected this to happen with usermod, shouldn't it ?I guess that it should, tested it and doesnt work.
usermod -d only updates /etc/passwd with the home directory, doesn't actually create one. And -m only works if a home directory is defined in the first place.