 |
 |
Make sleep and shutdown require Admin
|
 |
|
 |
|
Professional Poster
Join Date: Dec 2000
Location: Staffs, UK
Status:
Offline
|
|
Does anyone know if it's possible to make the sleep and shutdown and restart menu items require an admin password ?
|
|
|
| |
|
|
|
 |
|
 |
|
Baninated
Join Date: Jun 2000
Location: Cambridge, Chicago, Jerusalem (school/home/heart)
Status:
Offline
|
|
Originally posted by Gee4orce:
Does anyone know if it's possible to make the sleep and shutdown and restart menu items require an admin password ?
It'd make sense cause on *nix systems to run any of the "init" or "halt" commands you need to do sudo or be root.
Hmmmmm......
|
|
|
| |
|
|
|
 |
|
 |
|
Mac Elite
Join Date: Dec 1999
Location: Decatur, GA
Status:
Offline
|
|
Why? If some unauthorized user wanted to cut it off, they could just unplug it.
|
|
|
| |
|
|
|
 |
|
 |
|
Professional Poster
Join Date: Dec 2000
Location: Staffs, UK
Status:
Offline
|
|
Well, that's malicious. I just want to stop someone (who shall remain nameless  ) from habitually sleeping the machine (that's also used for other things) when they're done checking their email....
|
|
|
| |
|
|
|
 |
|
 |
|
Mac Enthusiast
Join Date: May 2001
Status:
Offline
|
|
I'd love to know how to do this. We have a bunch of people using OS X, and whenever an app locks up, or crashes (almost always Quark in classic), they habitually reboot the machine. Doesn't do a lick of good, and screws up permissions no end.
You can't get it through their heads - fair enough, there's a lot of dealing with OS 9 to unlearn. Throwing a roadblock in front of rebooting would be very valuable.
If it's a case of just putting root permissions on a command, that shouldn't be too hard; anyone know what command the system calls to inititate shutdown? Moving shutdown from /sbin doesn't do the trick...
|
|
All opinions are entirely those of my employer. It's not my fault.
|
| |
|
|
|
 |
|
 |
|
Senior User
Join Date: Mar 2002
Location: CT
Status:
Offline
|
|
I know what you mean about "unlearning" OS9 tactics. I work on this guys business computers and they switched over to OSX when Jag came out. I went over there about 3 weeks after they were up and running (and comfortable) with X; he tells me how he finds that X is just as freezable as 9. Come to find out he was rebooting every-time AOL would cause a beach ball. Ugh. I told him about force-quit but AOL seemed to block the keyboard shortcut and one big thing that bugs me is if a program locks up it takes the Apple Menu with it and new users don't think to switch to the finder to get to the menu. It would be nice if the Apple menu was not able to be frozen with the App, and even if the App froze could still be used.
Sad thing is I think he still restarts a lot when stuff like this happens. Old habits die hard I guess.
|
|
|
| |
|
|
|
 |
|
 |
|
Mac Enthusiast
Join Date: May 2001
Status:
Offline
|
|
|
|
|
All opinions are entirely those of my employer. It's not my fault.
|
| |
|
|
|
 |
|
 |
|
Grizzled Veteran
Join Date: Nov 2001
Location: Oregon
Status:
Offline
|
|
I told him about force-quit but AOL seemed to block the keyboard shortcut
Tell him to go to the Dock, do a Control-Option click on the AOL icon; that should present a "Force Quit" menu option off the Dock.
|
|
|
| |
|
|
|
 |
|
 |
|
Dedicated MacNNer
Join Date: May 2002
Status:
Offline
|
|
There are things you can do such as
using Fruit menu to get rid of the
sleep/shutdown menu items. Disabiling
restart and shutdown at the login screen etc..
But a mac can always be put to sleep by
the power key and if you Ctrl-Eject you
get the "Are you sure you want to shut down
your computer now?" dialogue box.
The only way I can think of is if you use Simple
finder and restrict the apps the person uses
(so they don't make an apple script). That
way the keyboard shortcut can't be used.
But it still can be put to sleep from the
machine it self.
|
|
|
| |
|
|
|
 |
|
 |
|
Grizzled Veteran
Join Date: Nov 2001
Location: Oregon
Status:
Offline
|
|
I think that this is possible. If it can't be done by done directly, as you suggest, it should be possible to do it at least indirectly: A small application could be run which asks the OS to be notified when a restart or power-down is about to occur and this application can cancel the shut-down, or ask for confirmation, etc.
I've seen some applications, such as Apple's Software Update for example, cancel a shut-down before. Can be annoying at times too. 
|
|
|
| |
|
|
|
 |
|
 |
|
Professional Poster
Join Date: Dec 2000
Location: Staffs, UK
Status:
Offline
|
|
Sounds like fruit menu will do what I want - I don't want to make it impossible to restart, sleep or shutdown the machine, just want to remove the obvious way of doing it so that persons unnamed won't automatically use that option.
Surely the Apple Menu options are stored somewhere in /Library or /System/Library - Fruit Menu must hack something. Does anyone know where they are, and how to remove them. Maybe it's as simple as editing a NIB file or a plist....
|
|
|
| |
|
|
|
 |
|
 |
|
Addicted to MacNN
Join Date: Mar 2000
Location: London, UK
Status:
Offline
|
|
Originally posted by Gee4orce:
Fruit Menu must hack something.
It does, but it's much cleverer than just manipulating a plist 
|
|
|
| |
|
|
|
 |
|
 |
|
Mac Elite
Join Date: Dec 2001
Location: Paris, France
Status:
Offline
|
|
|
|
|
|
| |
|
|
|
 |
|
 |
|
Dedicated MacNNer
Join Date: Dec 2002
Location: someplace
Status:
Offline
|
|
Originally posted by Gee4orce:
Fruit Menu must hack something.
Fruit Menu draws a new (customizable) menu right on top of the existing menu, making the default inaccessible. Clever, no?
|
|
|
| |
|
|
|
 |
|
 |
|
Addicted to MacNN
Join Date: Mar 2000
Location: London, UK
Status:
Offline
|
|
Originally posted by gatorparrots:
Fruit Menu draws a new (customizable) menu right on top of the existing menu, making the default inaccessible. Clever, no?
Actually, it's cleverer than that. The originial Classic Menu application did that, it didn't work terribly well.
|
|
|
| |
|
|
|
 |
 |
|
 |
|
|
|
|
|

|
|
 |
Forum Rules
|
 |
 |
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
|
HTML code is Off
|
|
|
|
|
|
 |
 |
 |
 |
|
 |
|