answersLogoWhite

0


Best Answer

Every user must have a primary group; it is what gets assigned to files you make and things like that. If you type 'id' at the prompt, it will tell you this, among other things. You can also be a member of additional groups, so that you can access things that are owned by these groups.

A user can temporarily change what group is his effective primary group with the 'newgrp' command, allowing all files made afterwords (until the effect is undone) to have a specific group ownership.

If you are familiar with the unix command line and some common utilities, the following example should help.

eg:

$ id

uid=15851(John) gid=20(cluster) groups=20(cluster),502(sysadmin),47071(cool_people)

$ touch sample

$ ls -l

total 2255305

drwxr-xr-x 3 John cluster 10 Dec 1 16:51 sample

User Avatar

Wiki User

12y ago
This answer is:
User Avatar
More answers
User Avatar

AnswerBot

2d ago

In Unix, a primary group is the main group to which a user belongs by default. This group is specified in the user's account settings and is used as the default group for file permissions. A secondary group, on the other hand, is an additional group that a user may belong to. Users can be members of multiple secondary groups in Unix.

This answer is:
User Avatar

Add your answer:

Earn +20 pts
Q: What is primary group and secondary group in unix?
Write your answer...
Submit
Still have questions?
magnify glass
imp
Continue Learning about Sociology

Which group is the nucleus of all social organization?

The family is considered to be the nucleus of all social organization. It is the primary unit where individuals learn social norms, values, and behaviors, which ultimately shape their interactions with others and their role in society.


Primary reinforcers are related to as secondary reinforcers are related to learned behaviors?

Primary reinforcers are innate, such as food and water, while secondary reinforcers are learned through association with primary reinforcers, such as money or praise. The primary reinforcers satisfy basic biological needs, while secondary reinforcers acquire value through conditioning and are often used in operant conditioning paradigms.


Do people belong to more secondary groups than primary groups?

Yes, people usually belong to more secondary groups than primary groups. Primary groups are small, intimate, and long-lasting, such as family or close friends, while secondary groups are larger, more formal, and based on a common interest or activity, like a sports team or workplace. As individuals interact with a variety of social circles and communities throughout their lives, they are likely to be members of multiple secondary groups.


What is the difference between a primary survey and secondary survey?

A primary survey is conducted initially to assess and address life-threatening conditions such as airway obstruction or severe bleeding. A secondary survey is performed after the primary survey to gather more detailed information about the patient's injuries or conditions and provide further medical care as needed.


What functions does primary groups secondary groups in-groups out-groups and reference groups serve for a formal organization?

Primary groups provide support and camaraderie, secondary groups offer specialized expertise, in-groups foster loyalty and cohesion, and out-groups may provide a contrasting perspective. Reference groups set standards for behavior and performance within the organization.

Related questions

What are the functions of primary and secondary groups?

A primary group has fact to face interactions and is more intimate than secondary groups. Secondary groups are more formal.


Primary and secondary social group?

Primary social groups are small, intimate, and long-lasting groups where individuals have regular and direct interactions, such as families and close friends. Secondary social groups are larger, more formal, and based on shared interests or activities, like clubs, teams, or professional organizations. Primary groups typically provide emotional support, while secondary groups offer opportunities for networking and achieving common goals.


The institution that has the primary responsibility to socialize the very young is?

secondary group


The institution that has the primary responsibility to socialize the very young is the?

secondary group


Can medicare be used for secondary insurance if the primary insurance is paid by your employer?

Medicare is primary if your group is under 20 lives. 20 lives or more and medicare is secondary to your employer paid group plan.


If a small group is in a PEO is medicare primary or secondary?

Medicare is always the primary insurance unless someone is still working


When was Danish UNIX User Group created?

Danish UNIX User Group was created in 1983.


What is concurrency in Unix?

the unix is a form of group in operating system


What is a color group that contains colors that are made by mixing a primary and a secondary together?

Tertiary Colors


What functional group can you get after the oxidation of a hydroxyl group?

if the alcohol is a primary alcohol the itis oxidized to give aldehyde and if secondary it gives ketone.


Difference between primary server and secondary server?

Primary Means, it is individual there is no dependence, But Secondary will allays depends on Primary, If you want to do Secondary, you should complete primary first, There is no precondition to primary, but for Secondary Primary is the Precondition, first you should do primary, then only you are able to do secondary.


What is primary and secondary victim?

primary: Raul Secondary: Julie