Home > Operation and Maintenance > Linux Operation and Maintenance > There are several user types in Linux

There are several user types in Linux

小老鼠
Release: 2023-05-29 16:31:56
Original
4667 people have browsed it

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.

There are several user types in Linux

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!

Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template