LX0-104 · Question #519
Which of the following is the conventional purpose of Linux UIDs that are lower than 100?
The correct answer is C. They are reserved for system accounts.. In Linux, UIDs (User IDs) that are lower than 100 are conventionally reserved for system accounts, which are non-interactive accounts used by services and applications.
Question
Options
- AThey are reserved for super user accounts.
- BThey are reserved for the system admin accounts.
- CThey are reserved for system accounts.
- DThey are unused, aside from 0, because they are targets of exploits.
- EThey are used to match with GIDs in grouping users.
How the community answered
(24 responses)- C88% (21)
- D4% (1)
- E8% (2)
Why each option
In Linux, UIDs (User IDs) that are lower than 100 are conventionally reserved for system accounts, which are non-interactive accounts used by services and applications.
While UID 0 is reserved for the superuser (root), the entire range below 100 is not exclusively for superuser accounts; it encompasses many other non-root system accounts.
System administrator accounts typically have UIDs above the system reserved range, though `root` (UID 0) is the primary administrative account.
UIDs 0-99 (or sometimes up to 499 depending on the distribution and configuration) are typically designated for system accounts like `root`, `bin`, `daemon`, `sys`, `adm`, and `lp`. These accounts are essential for the operation of system services and processes and are not intended for regular interactive user logins.
UIDs below 100 are actively used by numerous critical system services and are essential for system operation, not unused targets of exploits.
UIDs are used to identify users, and GIDs (Group IDs) identify groups; while users often have a primary group with a matching GID, this statement doesn't explain the specific purpose of *low* UIDs.
Concept tested: Linux User IDs (UID) conventions
Source: https://refspecs.linuxfoundation.org/LSB_5.0.0/LSB-Core-generic/LSB-Core-generic/uidgid.html
Topics
Community Discussion
No community discussion yet for this question.