Creating User
Last updated
Last updated
You have to create a user “training” and set its password “password”
Add user in CentOS, open a terminal
Assign a password using passwd command and set the password: “password”
Edit the sudoers file through vi command
You have to follow either of the 2 options
Add a new highlighted line in this file
2. Replace # %wheel with training in the above line.
Once this is done, save the file using Esc :wq!
Set
PasswordAuthentication
as yes and restart ssh daemon
Uncomment PasswordAuthentication yes and comment the PasswordAuthentication no