For example, I want to create a new user nginx, and specify the directory, allowing the use bash Login
sudo useradd -d "/home/nginx" -m -s "/bin/bash" nginx passwd nginx
passwd login password to modify nginx
For example, I want to create a new user nginx, and specify the directory, allowing the use bash Login
sudo useradd -d "/home/nginx" -m -s "/bin/bash" nginx passwd nginx
passwd login password to modify nginx