Thread Tools Search this Thread
Top Forums UNIX for Dummies Questions & Answers Groups
# 1  
Old 07-02-2011

Must I be in a group? I am using Ubuntu and am the only user on my PC. I know how to change groups but do not see a way to not be in a group. Any help would be appreciated.
# 2  
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).
# 3  
Old 07-05-2011
If you don't restrict "user rights", being in a group or not is not something really important. Let's assume that you have a file and you are using that file with your friends but you don't want your family to use that file. So you can make at least two groups and forbid the "family" group to read or to write or to execute that file.
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. 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

2. 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

3. Shell Programming and Scripting

Groups in Unix ???

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

4. Solaris


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

5. Solaris


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

6. 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

7. 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

8. 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

9. 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

10. 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
Login or Register to Ask a Question