Home  >  Article  >  Operation and Maintenance  >  What is the most powerful account in Linux?

What is the most powerful account in Linux?

烟雨青岚
烟雨青岚Original
2020-07-10 10:01:2811761browse

The account with the most authority in Linux is root. Root, also known as the root user, is the only super user in Unix and UNIX-like systems as well as Android and iOS mobile device systems; root has all the permissions of the system. If the root password is leaked, it will result in the data of all users on the entire computer. Totally stolen.

What is the most powerful account in Linux?

#The account with the most authority in Linux is root.

Root, also known as the root user, is the only user in Unix (such as Solaris, AIX, BSD) and UNIX-like systems (such as Linux, QNX, etc.), as well as Android and iOS mobile device systems. Superuser, so named because it can perform read, write, and execute operations on the root directory.

It is equivalent to the SYSTEM (XP and below)/TrustedInstaller (Vista and above) users in Windows systems. It has the highest authority in the system, such as starting or stopping a process, deleting or adding users, adding or disabling hardware, adding files or deleting all files, etc.

One reason why root is not recommended is for security reasons.

Root has all the permissions of the system. If the root password is leaked, it is enough to cause the entire computer to be completely controlled by the person who steals the root password. Having the root password means having all the data of all users on this computer. .

Some tasks must be performed by root, such as deleting system built-in applications.

But it is not recommended to use root in Unix or Linux systems, which constitutes a contradiction. So a sudo method was born, which is to use su to escalate privileges when necessary, that is, to grant part of the system management permissions to ordinary users, and only when these users need higher permissions, these users are allowed to temporarily use root commands. to manage the system.

By default, root's root directory (/root) is not accessible to other users. This enhances the security of the entire system to a certain extent, but not completely.

The security of Unix, Linux and Android lies in its high degree of configurability. In other words, the security of Unix or Linux depends more on the system administrator rather than the Unix or Linux system itself.

The general model is: Unix, Linux and Android provide a sound security mechanism, and the system administrator formulates corresponding security policies according to actual needs and deploys these security policies.

"Mechanism" refers to what can and cannot be done, and "strategy" refers to what should and should not be done. The security policies and security mechanisms of Windows are relatively confusing. Windows itself relies too much on security policies, causing system administrators to be tied up in many cases, and the gains outweigh the losses.

Recommended tutorial: "linux tutorial"

The above is the detailed content of What is the most powerful account in Linux?. For more information, please follow other related articles on the PHP Chinese website!

Statement:
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