User Management
Overview
Most attacks will attempt to always log in using root, so what we will do is create a new user and then disable root login. We will only be logging in with your new user. Once logged in, you are able to switch to the root user again, but remote access won't be available.
1. Change Your root Password
After you log into your server, immediately change your password for root:
Type in your new password twice and it will take effect.
2. Create a New User
It will then ask you for the following:
You can leave the information blank and just enter y
at the end.
3. Give Admin Permissions to New User
Now let's add notarb to the sudo group so they have admin permissions:
Next, let's set up SSH Access.
Last updated