Follow these steps:
- Go to your terminal
- Execute this command
sudo useradd -d /home/path/ -m user-name
- It might show a working saying
useradd: warning: the home directory already exists.
Not copying any file from skel directory into it.
- But it's just a warning and not an error so your user has been created and now you can set a password.
sudo passwd user-name
- This command will promt you to type and retype the password.
- You know the password is succesfully updated when you see this message
passwd: password updated successfully