Group Permissions - How to tell the difference


 
Thread Tools Search this Thread
Operating Systems Solaris Group Permissions - How to tell the difference
# 8  
Old 02-11-2010
You can't tell, what a group is good for, from just looking at the group name, like you cannot tell, what a specific key is good for, before you know all locks.

A start would be to check for files or directories on the system that belong to a group in question. Membership in a specific group could entitle you to read or write certain data or execute programs.

But there are also uses of groups that you can not find just from the operating system point of view. In DB2 for example, you can grant rights to database objects based on operating system group membership.

So I am afraid, it is not possible to answer your question

Last edited by hergp; 02-11-2010 at 05:42 AM.. Reason: corrected typo
# 9  
Old 02-11-2010
Quote:
Originally Posted by popeye
What does being a member of any or all give me that any or all of the rest do not, by way of permission.
Each file on a Unix filesystem belongs to a user and a group.
When you are accessing to the filesystem, you are also having a single user identifier and a single effective group identifier. Run the "id" command to see them.
Each file has also read, write and execute permissions for its owner, its group and others (eg: rwxr-xr--).
If you are the file owner, the first set of permissions apply, here you can read, write and execute the file.
If your current group is the same of the file the second set apply, here you can read and execute the file but not write (modify) it.
Otherwise, the last set apply. You can only read the file.
You change (i.e. login) to a new group with the newgrp command.

ACLs are an alternative, more modern and flexible way to grant attributes to users.
# 10  
Old 02-11-2010
Yes. Thank you ..
I do understand id ... and the format of /etc/passwd and/or /etc/shadow .. not too much help here though.

Hummm ... tough. I cant open a ticket with the admins asking that they either remove me or add me to/from any group without being able to define what they are.

I guess Ill just leave them alone. But you know .... it just bothers me ... I like to keep my stuff tight ... know ?

Thanks to all.
# 11  
Old 02-12-2010
This looks pretty pointless. How would the rest of us know what these secondary groups allows you to do ?

Last edited by jlliagre; 02-12-2010 at 07:37 AM..
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. Web Development

Group and user permissions on mediawiki

I am working on setup a wiki which should have users and group having read or write permission. Before that we were using simple write to all methodology. Now the challenge is this that i have created a 3 users and all of the 3 are able to write to wiki and update the page. Now what i what to... (0 Replies)
Discussion started by: sunnysthakur
0 Replies

2. UNIX for Advanced & Expert Users

Group permissions question

I have a user who has had an id change. His old id was xl00 his new id b000999. Both id's are in group bauser. The user now cannot access his old files even though he is in the same group and permissions seem to be ok. See below, first 2 files he can't see, second two are no problem. ... (2 Replies)
Discussion started by: dw82199
2 Replies

3. UNIX for Dummies Questions & Answers

Root group permissions

Hi everybody, which are the root group permissions and how can I give to a user these rights? Thanks in advance. (2 Replies)
Discussion started by: bmayao
2 Replies

4. UNIX for Advanced & Expert Users

Automate setting of group permissions

What would be a practical way of making sure files I upload to/edit in a particular directory on a server always have the correct group permissions? I'm forgetful, so I try to automate things like chgrp'ing the files when I'm done. I could write a script to be run by cron. Is that the only way,... (2 Replies)
Discussion started by: mregine
2 Replies

5. UNIX for Dummies Questions & Answers

Group permissions

Hi, I've created a user named fwadmin, group named fwadmin and made the user belong to that group. I created the user and group using the 'User Manager' in Centos. The user belongs to /etc/fw.Does this also mean that the group fwadmin belongs to /etc/fw. That is what I want. But when I... (4 Replies)
Discussion started by: anaigini45
4 Replies

6. Shell Programming and Scripting

checking Permissions of file for OTHERS and GROUP

Hi, Is their a way to check the read and execute permission on a file on OTHERS and GROUP rwxr--r-x I am trying something like: if ( || ) then .... fi The code above only checks the permissions of the owner of the file but not for the GROUP and OTHERS. I will really... (5 Replies)
Discussion started by: rkumar28
5 Replies

7. AIX

bin group strange permissions

I was doing a little playing around with permissions on a 5.3 box in the office and wanted to make it so that it does not take root permission to delete a users home directory once they are deactivated or deleted in smit. the default permissions are 755 with bin as both user and group I noticed... (2 Replies)
Discussion started by: dgaixsysadm
2 Replies

8. UNIX for Dummies Questions & Answers

How to copy owner permissions to group

Hi, I need a command or a script to change the group permissions to be the same as the owner permissions for all my files and directories (recursive) any idea ? (4 Replies)
Discussion started by: ynixon
4 Replies

9. Filesystems, Disks and Memory

group permissions/webserver

Hi, there is one strange situation with directory permissions that I run into every now and then, and now I face it a gain with a webserver. Situation (example): drwxrwsr-x 14 user www-data 4096 Jul 28 11:06 . drwxr-xr-x 2 www-data www-data 4096 Jul 28 11:06 subdir -rwxr-xr-x 1... (3 Replies)
Discussion started by: doozer
3 Replies

10. UNIX for Dummies Questions & Answers

root group permissions

Hello, Another newbie here and here is my dilemma. I created an account for me on Solaris 8 and I added myself to the root group. But when I login using that account I am unable to do superuser tasks.. (add users, admintool, etc). What am I missing? Thanks in advance.. Andre (5 Replies)
Discussion started by: jacobsa
5 Replies
Login or Register to Ask a Question