A

Admin • 802.91K Points
Coach

Q. Which of the following identifiers associated with a process that determines its privilege level?

  • (A) uid
  • (B) suid
  • (C) euid
  • (D) gid
  • Correct Answer - Option(C)
  • Views: 5
  • Filed under category Linux
  • Hashtags:

Explanation by: Admin
Each process has three IDs: RUID(real user ID), EUID(effective user ID) and SUID(saved user ID). The idea is that a process can temporarily acquire privileges, then give them up when it no longer needs them, and get them back when it needs them again. There is a similar mechanism for groups, with RGID(real group ID), EGID(effective user ID), SGID(saved group ID) and additional groups.

A program that needs to perform certain actions with root privileges normally runs with its EUID, but it calls the seteuid() method to set its EUID to 0 before performing the action requiring privileges.

You must be Logged in to update hint/solution

Discusssion

Login to discuss.

Be the first to start discuss.