I'm new to Ubuntu server and I'm having a little trouble with a project.
I need to add a user account, add a comment, create and set the home directory, add primary group to user, and set the password for the user.
I have no problem doing these individually, but for my project I need to use a single command to create the user with the properties listed.
Can anybody help me with this?