Risks of Panther Access Changes

Written by Ken Edwards
Published November 12, 2003
Last week (and in our Panther Special Report) we covered the change in Panther that lets any administrative user move, or even delete, important system-level files by simply authenticating (providing their admin account password) when trying to perform the action.

What we didn't cover at the time is the fact that what is actually happening "behind the scenes" is that you are actually using the Unix sudo command — a way to temporarily perform actions with root-level access — to execute the desired action.

Why this is important is that the sudo command has a built in timer: once you've authenticated, it provides you with that root-level access for five minutes (by default). So after you've first authenticated, subsequent actions — even dangerous ones that could render OS X inoperable — can be performed without requiring you to authenticate again. Obviously, this could result in a messy situation. However, at least you're aware that you've authenticated, so you know to be careful what you do for the next five minutes or so.

The real danger of this "feature" — as pointed out to us by Chris Breen, Macworld Magazine's 911 columnist — is that when an admin-level user logs in, the act of logging in itself constitutes an authentication. In other words, for the first five minutes after logging in, you have root-level access and you probably aren't even aware of it. You can move or delete system-level files without being warned and without being prompted to authenticate — it just works. After those first five minutes are up, you resume your normal level of access. As Chris pointed out, these first five minutes can be quite risky:

"I've confirmed this by dragging my System folder to the Trash. And no, I couldn't get it out again without booting into Mac OS 9 and recovering it from the .Trashes file."

We would add that sometimes people accidentally delete files — using the command+delete keyboard combination in Mac OS X's column view sometimes makes it easy to delete an enclosing folder rather than the sub-folder you actually wanted to delete. In fact, Chris makes another good point about the risks of this situation:

page 1 | 2
Ken Edwards is the Gaming Editor at Blogcritics, and calls Breaking Windows home. Ken works part time for Student Publications at BGSU as the Webmaster and System Administrator. He is also a freelance web developer.

Keep reading for information and comments on this article, and add some feedback of your own!
Risks of Panther Access Changes
Published: November 12, 2003
Type:
Section: Sci/Tech
Filed Under: Sci/Tech: Software
Writer: Ken Edwards
Ken Edwards's BC Writer page
Ken Edwards's personal site
Spread the Word
Like this article?
Email this
Submit to del.icio.us Save to del.icio.us
RSS Feeds
All RSS Feeds (240+)
Comments on this article
BC articles by Ken Edwards
Sci/Tech: Software
All Sci/Tech Articles
Ken Edwards's personal weblog
All BC articles
All BC Comments

Comments

#1 — August 21, 2004 @ 23:08PM — Douglas Dir [URL]

What happened to bookofjoe? It's now password protected? How do I get access?

Peace,
DOUG

Want comments emailed to you? No spam, promise! Address:

Add your comment, speak your mind

(Or ping: http://blogcritics.org/mt/tb/10065)

Personal attacks are not allowed. Please read our comment policy.





Remember Name/URL?

Please preview your comment!

Fresh
Articles
Fresh
Comments