I recently came across a bug in one of my company's applications whereby when I was logged on to the terminal server and hit the application shutdown button, the whole server shut down. When asking why this happened, the reply was that it was by design: the program sends a system call to shut down workstations (which is desired) regardless of priviledge level, but can't tell the difference between a workstation that is OK to shut down, and a server that is not.
I am unable to modify these routines, as the reponse I get is that they are working as intended. I have looked at the various ways to hide shutdown from users, but the call is still available, and so this program can still shut things down. Given this set of circumstances, is there a way to disable the shutting down of the system by this call, but still allow normal administrator access to shut it down if needed?
I am unable to modify these routines, as the reponse I get is that they are working as intended. I have looked at the various ways to hide shutdown from users, but the call is still available, and so this program can still shut things down. Given this set of circumstances, is there a way to disable the shutting down of the system by this call, but still allow normal administrator access to shut it down if needed?