image
image

Go Back   macosx.com > Mac Help Forums > Unix & X11

Reply
 
Thread Tools
  #1  
Old October 17th, 2005, 12:30 AM
Registered User
 
Join Date: Feb 2001
Location: Hollister CA
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
tgunr is on a distinguished road
Howto Specify a Group Using Access Control Lists

I cannot for the life of me get chmod +a "admin allow read,write,delete" /Applications to refer to the group 'admin' . It only seems to look first in the users and if a user is named 'admin it thinks that is what I want. I want the group not the user, how do I do this?
Reply With Quote
  #2  
Old October 27th, 2005, 05:34 PM
BjarneDM's Avatar
Registered User
 
Join Date: Oct 2005
Location: København ; Danmark ; Europa
Posts: 148
Thanks: 0
Thanked 0 Times in 0 Posts
BjarneDM is on a distinguished road
doesn't seem possible.

none of the the documentation I've found seems to destinguish between users and groups in any way. the Workgrup Manager on X 10.4 Server also seems to treat users and groups as a whole. for screenshots and discussions see here:
http://images.apple.com/server/pdfs/...s_TB_v10.4.pdf
http://arstechnica.com/reviews/os/macosx-10.4.ars/8
Reply With Quote
  #3  
Old October 27th, 2005, 07:02 PM
Registered User
 
Join Date: Feb 2001
Location: Hollister CA
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
tgunr is on a distinguished road
Workaround

A workaround is to rename the group, I changed the group 'admin' to 'sysadmin' and can now specify the 'sysadmin' as I desired.
Reply With Quote
  #4  
Old November 27th, 2005, 02:04 AM
sourcehound's Avatar
Registered User
 
Join Date: Aug 2005
Posts: 210
Thanks: 0
Thanked 0 Times in 0 Posts
sourcehound is on a distinguished road
Not a good idea!

Quote:
Originally Posted by tgunr
A workaround is to rename the group, I changed the group 'admin' to 'sysadmin' and can now specify the 'sysadmin' as I desired.
The "admin" group is group 80, one of the builtin OS X groups and the group specified in /etc/sudoers, so changing its name is a bad thing. It's better to create a new group, and nest the admin group inside, then specify the new group in the ACL.

However, I do have to say that the ACLs are still pretty immature and have some issues. I get around that by using the nested groups which work well.

So, instead of changing "admin" to "sysadmin" simply create "sysadmin" and nest the admin group inside of it. That way, you won't mess with the built in group structures on OS X.
__________________
Sourcehound, author of HelpMate: http://www.macworkshops.com/machelpmate
ACSA, ACTC, MCP, A+, APP
Mac OS X IT Trainer & Consultant
http://www.macworkshops.com
MacTech Magazine Columnist
http://www.mactech.com
Reply With Quote
  #5  
Old November 28th, 2005, 04:09 PM
Registered User
 
Join Date: Feb 2001
Location: Hollister CA
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
tgunr is on a distinguished road
Great idea, I should have remembered that!

FWIW, the name change seems to have caused no problems so far, but I am going to try the subgroup anyway, much cleaner.
Reply With Quote
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off
Forum Jump


All times are GMT -5. The time now is 01:46 AM.


Mac Support® Version 3.7.2
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.1.0
Copyright 2000-2008 DigitalCrowd, Inc.