You'll need to make sure that only root has priviliges to shutdown/reboot the machine. This can be done through PAM or by removing other users from the "wheel" group -depends on the version i think, but not sure-.
Next thing to note is the power supply unit for that server. Is the server very old? is the PSU fan sluggish?
Last but not least, is power stable at the location. A quick sharp drop in voltage will cause the machine to reboot though it might not be noticable otherwise. If this is the case consider getting an Uninterrupted Power Supply unit (UPS).
|