" command to view the user UID, and use the "usermod -u" command to modify the UID."/> " command to view the user UID, and use the "usermod -u" command to modify the UID.">
Home > Article > Operation and Maintenance > What does uid mean in linux
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.
The operating environment of this tutorial: linux7.3 system, Dell G3 computer.
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!