Q. User ID which equals 0 is ______ ?

  • (A) An invalid identifier
  • (B) The user ID of the root user
  • (C) User ID when their account is deleted
  • (D) None of the above
πŸ’¬ Discuss
βœ… Correct Answer: (B) The user ID of the root user
Explanation: Does the user root always have uid = 0 and gid = 0 on Linux? Yes. There is code in the kernel that explicitly checks that uid equals 0, which means that root always has at least uid = 0.
Explanation by: Jatin Dubey
Does the user root always have uid = 0 and gid = 0 on Linux? Yes. There is code in the kernel that explicitly checks that uid equals 0, which means that root always has at least uid = 0.

πŸ’¬ Discussion


πŸ“Š Question Analytics

πŸ‘οΈ
391
Total Visits
πŸ“½οΈ
4 y ago
Published
πŸŽ–οΈ
Jatin Dubey
Publisher
πŸ“ˆ
98%
Success Rate