I created some users with:
$ useradd john
and I forgot to specify the parameter -m
to create the home directory and to have the skeleton files copied to each user. now I want to do that, and I don't want to recreate all users (there must be an easier way). so, is there any way to create the user directories and copy the skeleton files?
I thought about creating the directories, chowning them to the corresponding user, copying all the skeleton files and chowning them to the corresponding user. but if there's a command like useradd -m
that doesn't create the user again, but create the directories, it'd be better.