9.4k views
4 votes
Which of the following files need to be referred for user's secondary group?

1) /etc/passwd
2) /etc/shadow
3) /etc/group
4) Cannot be determined

User Atadj
by
8.5k points

1 Answer

4 votes

Final answer:

In UNIX-like operating systems, the primary configuration file for a user's secondary group is /e tc/group.

The answer is option ⇒3

Step-by-step explanation:

This file contains a list of all the groups on the system and the users that belong to each group. To determine a user's secondary group, you would refer to this file and find the group that the user is a member of.

For example, if the user 'john' is a member of the group 'developers', you can confirm this by checking the /et c/group file.

However, in other operating systems, such as Windows, the file or database that stores the information about a user's secondary group may be different. Therefore, without specific information about the operating system being used, it is not possible to determine which file needs to be referred to.

The answer is option ⇒3

User Proxpero
by
8.3k points