In message <[EMAIL PROTECTED]> on Tue, Feb 17, 2004 at 06:54:13AM +0800, Rod Lavington wrote: > On 16/2/04 11:26 PM, "Shay Telfer" <[EMAIL PROTECTED]> wrote: > > Ummm... On a multiuser Unix machine, having anyone able to shut the > > machine down is a *bad thing*, hence why it requires sudo. > So how come a non-admin user can turn off their Mac from the Apple Menu in > OS X?
I suspect the idea is that Mac users who are sitting in front of the computer (i.e. those who have physical access to the "console") expect to be able to shut down or restart the computer. However, those who have logged in remotely (e.g. UNIX shell logins) are not expected to have that chance. (However, it is probably possible for remote users to achieve it using a loophole in one of Apple's programming interfaces.) This is a bit blurry for Macs. It is fair to say that you might want to disable this functionality for a guest or non-admin user. There is probably not an elegant way of doing this, though it is possible to write your own programme sits in the background and issues a "cancelled" response to restart/shutdown if the current console user is 'guest'. I wonder if Craig's problem computer would shut down if the user logged out and logged back in, or if a different user was logged in.

