I use centOS 5.7 and I need an account I have on the server to be able to reboot the server.
How do I do this? Should I maybe be worried about security issues with this?
The reason I need it...I want to reboot the server every 6 or 12 hours...haven't yet decided. But I don't want to make a cronjob on root because I want some commands to be run before the reboot and I want the reboot to happen exactly after the commands have been ran...
basically a countdown till the server goes down for a game server.