What does uid mean in linux

WBOY
Release: 2022-03-15 15:31:45
Original
10898 people have browsed it

UID means "user identification code" in Linux. UID is also "User ID", which uniquely corresponds to the user name; the UID of the startup process is the UID of the logged-in user. You can use the "id -u" command to view the user UID, and use the "usermod -u" command to modify the UID.

What does uid mean in linux

The operating environment of this tutorial: linux7.3 system, Dell G3 computer.

What does uid mean in linux

UID is User ID, user identification code.

UID---User identification number, which uniquely corresponds to the user name. The UID of the super user root in LINUX is 0. If you want the system to display your user name, UID, group name, GID and the names of other groups to which you belong, you can use the id command. To modify the UID, usermod -u is generally used.

UID is the identifier used to represent the user in the system. The uid of the started process is the uid of the currently logged in user. To view the user uid, use the id -u <username> command

It should be noted that when checking permissions, the euid is checked. Normally, the euid of the process is the same as the uid.

Users whose UID is greater than 500 are non-system accounts, and those below 500 are accounts reserved by the system, such as the root account. The UID of the highest authority account is 0, which is the default account UID when we create a user. They are all greater than 500. If you want to specify the UID of the account, you can use the -u parameter to specify it. Nothing else is of much significance.

Related recommendations: "Linux Video Tutorial"

The above is the detailed content of What does uid mean 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