What does UID root and GID root mean?
Please give me some examples...
Server Fault is a question and answer site for system and network administrators. It only takes a minute to sign up.Sign up to join this community
UID stands for user ID, and GID stands for group ID. They are numeric identifiers associated by a UNIX or Linux system with an user or group account, respectively (e.g.
5160). Systems also use human-readable users and groups for convenience (e.g.
Users represent an individual person or role, whereas groups represent a collection of people or roles. Each is used by the system to manage who gets access to resources like files, processes, etc.
On many systems, you'll find that users and groups (confusingly) might be named the same thing, even though they have different functions. Also, some people (confusingly) use UID or GID to mean the same as user or group instead of the numeric IDs. You can find all the names and IDs, and how they are mapped to each other in files like
/etc/group which you can read about in the appropriate man pages.
So, "UID root" (mistakenly) means the root user, and "GID root" (mistakenly) means the root group.