A

Admin • 802.91K Points
Coach

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
  • Correct Answer - Option(B)
  • Views: 4
  • Filed under category Linux
  • Hashtags:

Explanation by: Admin
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.

You must be Logged in to update hint/solution

Discusssion

Login to discuss.

Be the first to start discuss.