Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!


Click here to return to the 'That's not really the App' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
That's not really the App
Authored by: serversurfer on Oct 17, '01 08:05:28AM
The tip of the original poster just changes the permission for the folder that holds the NetInfo app. Removing 'executable' from this will solve the problem, but makes the application look like a folder to non-admins. The proper way to set the perms would be:

sudo chmod o-x "/Applications/Utilities/NetInfo Manager.app/Contents/MacOS/NetInfo Manager"

Better still, move the Offending Apps (NetInfo Manager and Disk Utility) in to a folder that only admins have access to:

mkdir "/Applications/Utilities/Admin Only"
sudo chown root:admin "/Applications/Utilities/Admin Only"
sudo chmod 770 "/Applications/Utilities/Admin Only"
sudo mv "/Applications/Utilities/Disk Utility.app /Applications/Utilities/Admin Only"
sudo mv "/Applications/Utilities/NetInfo Manager.app /Applications/Utilities/Admin Only"


Also, check out this thread at ArsTechnica:
http://arstechnica.infopop.net/OpenTopic/page?a=tpc&s=50009562&f=8300945231&m=5230994492

[ Reply to This | # ]
Thanks!
Authored by: robg on Oct 17, '01 09:46:25AM

Nice catch on the app vs. the bundle ... and I really like the "admin only" folder solution. I wonder how Apple will choose to patch it.

One other point is that if you have physical access, then root is probabably exposed anyway (especially if the install CD is lying around close by). I view this almost as more of a user protection issue than anything else -- I don't want Terminal or anything else running as root unless I tell them to run as root. Scary things can be done!

-rob.



[ Reply to This | # ]
That's not really the App
Authored by: Brad Puett on Oct 17, '01 03:41:49PM

Again, for the "Copy-And-Paste" people (NOT the same as "Anal-Retentive"!! ;^), use the following syntax instead:

mkdir "/Applications/Utilities/Admin Only"
sudo chown root:admin "/Applications/Utilities/Admin Only"
sudo chmod 770 "/Applications/Utilities/Admin Only"
sudo mv "/Applications/Utilities/Disk Utility.app" "/Applications/Utilities/Admin Only"
sudo mv "/Applications/Utilities/NetInfo Manager.app" "/Applications/Utilities/Admin Only"

(The last 2 lines are the only ones that changed ... I added double-quote marks around each of the path/file names) ...



[ Reply to This | # ]
Sorry, Brad :)
Authored by: serversurfer on Oct 17, '01 07:16:44PM

I really was trying to quote it properly. Just for you, in fact!



[ Reply to This | # ]