Why Peek-a-Boo Requires Authentication

by Bob Clark

The first time you run Peek-a-Boo, it will ask for authenticaton (an administrator name and password). The reason is that Peek-a-Boo’s child proces, PeekDaemon, needs permission to read information for all processes. This permission is also necessary for some of the process actions available from the Manage menu or the main window’s toolbar.

Since Peek-a-Boo accesses much of the same under-the-hood information as system tools such as top and ps, some people might wonder why they didn’t have to enter authentication information for those tools; but in fact, they did! When installing Mac OS X, the authentication provided also set up the permissions for the Darwin system tools.

You can verify this by using Terminal to see the permissions on these Darwin tools, and comparing with the permissions on PeekDaemon after you’ve provided authentication.

-rwsr-xr-x  1 root  wheel  36516  2 Jun 18:31 ps
-rwsr-xr-x  1 root  wheel  88096  2 Jun 18:32 top
-rwsr-xr-x  1 root  bob    26476  2 Jun 18:35 PeekDaemon

The authentication is used to set the permissions of PeekDaemon once and for all, so you shouldn’t have to re-authenticate every time you run Peek-a-Boo; only the first time, or when the daemon is updated.

Stay up to date with Clarkwood Software product releases and new articles by subscribing to our rss feed.