Sponsored Content
Full Discussion: Groups
Top Forums UNIX for Dummies Questions & Answers Groups Post 302535939 by mirni on Sunday 3rd of July 2011 05:09:27 AM
Old 07-03-2011
Yes, every user on linux has to belong to a group. Group is a larger unit than users, obviously; by default when a user is added to the system, a group with the same name is created. This is called a primary group, and user cannot be placed outside of it (although you can change the primary group of the user).
 

10 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

question about groups

:p I have a very elementary question that is kind of buggin me because I cannot figure it out. 1. How do you make a new group, give it a name, and assign permissions to specific users to access this group? 2. How do you delete a file that begins with a '-'? 3. How do you login as a... (1 Reply)
Discussion started by: zorro
1 Replies

2. UNIX for Dummies Questions & Answers

how to fing groups

whats the command to find a particular group,pls its urgent thnks (3 Replies)
Discussion started by: bkan77
3 Replies

3. UNIX for Dummies Questions & Answers

users and groups

hi eveyone i've recently requested my unix admin to create a userid for 2 groups. He created the id and i can see it by grep "id" /etc/group. But when i login with that id into unix and try to cd that group it says permission denied. something like cd /groupname -- permission denied Can my admin... (1 Reply)
Discussion started by: sammet
1 Replies

4. AIX

Where are my groups

Hello A couple of weeks ago, I added a user to an AIX 5.3 system. I go to add one today, and it appears that when creating a user in smit, I cannot see any groups. No primary groups No Group set No Admin Groups The /etc/group and etc/secuity/group files seem to be intact. I did... (4 Replies)
Discussion started by: mhenryj
4 Replies

5. Windows & DOS: Issues & Discussions

putty groups

Hi all, need info on using putty as group. I am having huge numbers of servers. (say 100) I am using putty to login remotely. i want to group each 25 hostnames or a set of servers into one putty instance. (see image attached.) Currently i have to scroll down to see all the 100 servers. ... (2 Replies)
Discussion started by: karthikn7974
2 Replies

6. Solaris

groups

how to create 1000 users in 1 group (0 Replies)
Discussion started by: tirupathi
0 Replies

7. Solaris

groups

1 user in member of 4 groups find file permissions and default group (1 Reply)
Discussion started by: tirupathi
1 Replies

8. Shell Programming and Scripting

Groups in Unix ???

What is Primary group and Secondary Group in Unix.? (1 Reply)
Discussion started by: gwgreen1
1 Replies

9. Shell Programming and Scripting

Need help with regex groups

I have a requirement - replace specified positions in a string with a character. I found perl regex useful for this approach. however, I am facing the following issue. The target file 'temp' contains - xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx The goal is to convert... (5 Replies)
Discussion started by: sam_roy
5 Replies

10. Shell Programming and Scripting

Sorting in groups

Hi, I am looking at a slightly different sorting problem and I am not sure how to do it in bash. I have the following input: 0 ... (8 Replies)
Discussion started by: jamie_123
8 Replies
groups(1)						      General Commands Manual							 groups(1)

NAME
groups - Displays your group membership SYNOPSIS
groups [user] DESCRIPTION
The groups command writes to standard output the groups to which you or the specified user belong. The Tru64 UNIX operating system allows a user to belong to many different groups at the same time. Your primary group is specified in the /etc/passwd file. Once you are logged in, you can change your active group with the newgrp shell command (see sh). When you create a file, its group ID is that of your active group. Other groups that you belong to are specified in the /etc/group file. If you belong to more than one group, you can access files belonging to any of those groups without changing your primary group ID. These are called your concurrent groups. NOTES
The /etc/passwd and /etc/group files must be on the same node. EXAMPLES
To determine your group membership, enter: groups The groups to which you belong will be displayed. For example: devel prod FILES
Contains group information. Contains user information. SEE ALSO
Commands: csh(1), ksh(1), sh(1) Functions: initgroups(3), setgroups(2) groups(1)
All times are GMT -4. The time now is 05:21 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy