Home > Article > Operation and Maintenance > There are several user types in Linux
Linux has three user types, namely: 1. Administrator user, with the greatest authority and minimum restrictions; 2. System user, who cannot log in to the server by default and can only call a certain service program; 3. Ordinary users, used for users who complete their daily work.
The operating environment of this tutorial: linux5.18.14 system, Dell G3 computer.
Linux user types
Linux users are divided into three types: administrator users, system users, and ordinary users.
1. Administrator user
has the highest authority and the smallest restrictions
2. System user
By default, you cannot log in to the server and can only call a certain service program
System users can avoid two problems
Hackers cannot log in to the server after cracking the system user password
When a hacker invades the website service, because the system user's permissions are very small, the scope caused by the hacker will also be reduced a lot
3. Ordinary users
are used for daily use The user who has completed the work (normal users cannot be created under normal users)
The difference between system users and normal users
The login terminals of system users and normal users are different
The login terminal for ordinary users is /bin/bash. You can use this account to log in to the server normally.
The login terminal for system users is /sbin/nologin. You cannot log in to the server normally (you can only manage certain users). some services)
The above is the detailed content of There are several user types in Linux. For more information, please follow other related articles on the PHP Chinese website!