Types of Users in Linux.
There are not many user types on Linux, but it is essential that you discover the different user types before starting ethical hacking.
6/9/20241 min read


Common User
When you create a new user, the user will be of this type. This type of user cannot install programs on the computer and cannot access most directories, since they usually do not have permissions to modify or view them. Looking at it from a cybersecurity perspective, it is the worst user to access, in a controlled environment, a computer, since you will not be able to do practically anything.
Superuser/Administrator
This is usually more complicated to access, since you will be able to do (almost) everything you want, as long as you use the "sudo" command before the command in question. Sudo means "superuser do", which in Spanish would be something like "superuser do", although the literal translation would be "superuser do". To make a user an administrator from the terminal, you must follow different steps depending on the OS you are using. In most, with a simple "sudo usermod -aG sudo [username]", what you do when you run this command is the following: with "sudo" it indicates that you want to run the command as administrator, with "usermod" it indicates that you want to do a modification in a user, with the "-aG" indicates that you want to add it to a group, then we indicate the group(s), in our case, only "sudo". After all this, we indicate the user in question. Although in others you must add the user to more groups, in most, this command is enough.
Root
You cannot make a user root under any circumstances, as there is only one. This user is very difficult to access; There are even some GNU/Linux distributions in which a system is used to make it even more complicated to be root. With this user you can literally do whatever you want, you can even delete the operating system completely and they will not give you a problem.