0% found this document useful (0 votes)
15 views1 page

CSS Unit 2.2

In Unix, each user is assigned a unique User ID (UID), with UID 0 designated for the Superuser. There are three types of UIDs for processes: Real User ID, Effective User ID, and Saved User ID, which manage access and privileges. Each user account can belong to multiple groups, and processes are associated with UID/GID pairs.

Uploaded by

Shivam Kumar
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
15 views1 page

CSS Unit 2.2

In Unix, each user is assigned a unique User ID (UID), with UID 0 designated for the Superuser. There are three types of UIDs for processes: Real User ID, Effective User ID, and Saved User ID, which manage access and privileges. Each user account can belong to multiple groups, and processes are associated with UID/GID pairs.

Uploaded by

Shivam Kumar
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 1

Ques What is Unix ID’s?

Answer
Each user of a Unix account has a unique UID.
UID 0 means the Superuser (system admin)
A user account belongs to multiple groups.
Subjects are processes associated with UID/GID pairs.
Objects are files.

Ques Describe the Detour used in UNIX user Ids and process Ids.
Answer
1. Every user in UNIX like the operating system is identified by a different integer
number, this unique number is called a user ID.
2. There are three types of UID defined for a process, which can be dynamically
changed as for the privilege of task
3. The three different types of user IDs defined are:

● Real user ID: it is an account of the owner of this process. It defines which
files that this process has access to.
● Effective user ID: it is normally the same as a real user ID, but sometimes
it is changed to enable a non-privileged user to access the file that can
only be accessed by root.
● Saved user ID: it is used when a process is running with elevated
privileges needs to do some underprivileged work, this can be achieved by
temporary switching on a non-privileged account.
● Each user account has a unique UID. The UID 0 means the Superuser
( system admin). A user account belongs to multiple groups. The subject is
processes, associated with uid/ gid pairs.

You might also like