I see nowhere in your post that you created the user through useradd, let alone which options/parameters you used.
I see nowhere in your post that /home/priveledgedrooter realy does not exist, e.g. by
ls -l /home/priveledgedrooter
The only thing I see is that you try to change the home directory to the same one, which apparently usermod seeing this and not doing anything, let alone creating it anew.
I assume most people use the YaST module for this, but useradd should work also of course.
Your thread title mentions usreadd, but all of your examples use usermod.
With useradd, at least, you must add the -m option to have it no only
specify, but also create, the home directory. This may be what you wanted
all along, but now that you have the user just create the directory and
remember next time to create properly with “useradd -m username”:
Hi
For user add use the -m option to create the home directory eg;
useradd -m privelegedrooter
With usermod it’s the -d or -m option for new directory or move
contents as well…
–
Cheers Malcolm °¿° SUSE Knowledge Partner (Linux Counter #276890)
SLES 15 RC4 | GNOME Shell 3.26.2 | 4.12.14-18-default
If you find this post helpful and are logged into the web interface,
please show your appreciation and click on the star below… Thanks!