in reply to shuting down a linux-server

A "low-tech" solution to shut down a computer is to create a special account that does just that. Arrange to have your /etc/passwd file to contain an entry like

doreboot:x:77:77:Reboot Account:/dev/null:/sbin/shutdown -r now

Now all you have to do is log into the server with this username and the machine will reboot itself, no sudo or anything else needed. Do yourself a favour and give it a difficult password to guess.


print@_{sort keys %_},$/if%_=split//,'= & *a?b:e\f/h^h!j+n,o@o;r$s-t%t#u'