Welcome to the MacNN Forums.

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

You are here: MacNN Forums > Software - Troubleshooting and Discussion > macOS > Changing Privileges!!

Changing Privileges!!
Thread Tools
Bread
Fresh-Faced Recruit
Join Date: Oct 2000
Status: Offline
Reply With Quote
May 21, 2002, 11:12 PM
 
After downloading the program BatCHMOD from http://homepage.mac.com/arbysoft, I was disturbed to learn that OS X lets any administrator change ownership and privileges of files! In a UNIX based OS, the only users that should be able to change the privileges of a file are the owner and root. How can this changing settings through a simple program be prevented?
     
Bernard Ducamp
Forum Regular
Join Date: Apr 2001
Status: Offline
Reply With Quote
May 22, 2002, 04:23 PM
 
r.e. Changing Permissions: I am a relative newcomer to UNIX, but here is my take on Administrator.

Apple decided to create Administrator to give a person access to all the files and directories (like root has) EXCEPT the System folder. Apple wanted to protect OS X system files from unintended consequenses. So they created a "tame" version of root and called it Administrator. The Administrator can, in turn, create other administrators or users, if desired.

root can be enabled. Apple just doesn't make it obvious. root has access to everything.
     
rantweasel
Dedicated MacNNer
Join Date: Oct 2001
Location: Philly
Status: Offline
Reply With Quote
May 22, 2002, 04:26 PM
 
Originally posted by Bread:
<STRONG>...I was disturbed to learn that OS X lets any administrator change ownership and privileges of files! In a UNIX based OS, the only users that should be able to change the privileges of a file are the owner and root.</STRONG>
Admin users are equivalent to root. Essentially, being admin is like having a mask that looks like root - when the computer checks to see if you have root privs (and you are actively trying to use them), admin users look like root. Technically, they are members of the wheel group, and the wheel group is allowed to assume root priveleges via setuid programs such as sudo and su. You should not give admin privs to anyone you wouldn't trust with everything on the system.
     
   
 
Forum Links
Forum 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 On
HTML code is Off
Top
Privacy Policy
All times are GMT -4. The time now is 03:18 AM.
All contents of these forums © 1995-2017 MacNN. All rights reserved.
Branding + Design: www.gesamtbild.com
vBulletin v.3.8.8 © 2000-2017, Jelsoft Enterprises Ltd.,