Groups to use with ACLs?

Joined
Aug 11, 2012
Messages
85
Reaction score
1
Points
8
Location
San Diego, CA
I'd like to hide certain objects from non-admin users. I can chmod +a "everyone deny read" /path/to/item and that certainly hides it from everyone! Now I'm trying to find a group that consists of any/all users with admin privileges. Neither wheel nor staff do the trick. The chmod man page doesn't help, as the examples it provides are just that... examples. I don't see any of my users in /etc/passwd or their usernames mentioned in /etc/group so I'm a little lost :-(
 
Joined
Oct 22, 2007
Messages
8,967
Reaction score
287
Points
83
Location
London
Your Mac's Specs
Mac Mini Core i7 2012 | White 2009 MacBook 2 Ghz | 733 Mhz G4 Quicksilver
Are you trying to hide local stuff or folders on the server?
 
OP
jnojr
Joined
Aug 11, 2012
Messages
85
Reaction score
1
Points
8
Location
San Diego, CA
Anyone?

I want to keep regular users from seeing the Security & Privacy pane, but allow administrators to access it. I tried:

chmod +a "everyone deny list" /System/Library/PreferencesPane/Security.prefPane
chmod +a "admin allow list" /System/Library/PreferencesPane/Security.prefPane

But that doesn't work.
 
OP
jnojr
Joined
Aug 11, 2012
Messages
85
Reaction score
1
Points
8
Location
San Diego, CA
chmod +a "everyone deny list" /System/Library/PreferencesPane/Security.prefPane
chmod +a# 0 "admin allow list" /System/Library/PreferencesPane/Security.prefPane

seems to have done the trick.
 

Shop Amazon


Shop for your Apple, Mac, iPhone and other computer products on Amazon.
We are a participant in the Amazon Services LLC Associates Program, an affiliate program designed to provide a means for us to earn fees by linking to Amazon and affiliated sites.
Top