Question : what is the syntax to add a new user?

experts,

       I have tried to use the following command to add a new user but cannot login as that user.

groupadd admin -g 500
useradd admin -d /home/admin -s /bin/bash -g admin

Thanks, MIssyMadi

Answer : what is the syntax to add a new user?

or if you want to use your command then use this

groupadd admin  -> creating the group

useradd admin -d /home/admin -s /bin/bash -g admin     - > creating the user
Random Solutions  
 
programming4us programming4us