...
Log in as the root user and then add the new user
Code Block adduser username output: Adding user `username' ... Adding new group `username' (1001) ... Adding new user `username' (1001) with group `username' ... Creating home directory `/home/username' ... Copying files from `/etc/skel' ... New password: Retype new password: passwd: password updated successfully #Once you set the password the command will create a home directory for the user #It will prompt you with this message output: Changing the user information for username Enter the new value, or press ENTER for the default Full Name []: Room Number []: Work Phone []: Home Phone []: Other []: Is the information correct? [Y/n] Y #If you want to leave all of this information blank just press ENTER to accept the defaults.
Now we have to give this new user write permissions to the web directory root
code
Once you have configured this, please move on the next step. Please note down the username and password for the newly created user