Add a user name and password in linux

How to add a user name and password in linux. Or add a user # useradd-group; passwd Password.
You can see the user name and password file / root / etc and the user name and password used with samba.