> For the complete documentation index, see [llms.txt](https://tritueviet.gitbook.io/server/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://tritueviet.gitbook.io/server/add-user.md).

# add user

![](https://4261255162-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-M4K2-RA1vIy84m12sDz%2F-MCjdmBsGZpa5RJiVzhA%2F-MCjdvMTL763YdDuy2O2%2Fimage.png?alt=media\&token=5c9988ab-b034-4d6e-ac2f-4b7d3ad41a17)

```
 sudo useradd user_name
 
 sudo usermod –aG group_name user_name
 
 passwd
 
 vi /etc/ssh/sshd_config 
 
 PasswordAuthentication yes
 
 
service ssh restart                                  ## for ubuntu

service sshd restart                                ## for centos
```
