Home / Programming MCQs / Linux MCQs / Question
J
Q. Which of the following identifiers associated with a process that determines its privilege level?
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
In Linux which of following command do you use to know the purpose of a command?
At start of process execution, STDOUT & STDERR
How to run a background process?
Which is the earliest and most widely used shell that came with the UNIX system?
Which command is used to copy files to and from the archive?
What command is used to list contents of directories?
What command is used with vi editor to move back to the beginning of a word?
Discusssion
Login to discuss.