This question already has an answer here:
Is there a way to create a new standard user, who can log in immediately? When I create users through a shell script, the users do get created, but they are disabled. Is there are way to create them so that they can log in without additional actions?
I use Ubuntu 16.04