Hi, this is my first post on this forum and I hope I posted this in the right section. I have problems loggin in after issuing a shutdown command.sudo shutdown -h +22 This is a command that i use frequently.
I have a web server under apache2 and php5. I want to shutdown a computer using web server but to shutdown the computer a current user should be 'root' user because command for the turning off of PC 'shuwdown -h now' should be executed under root user.
The php user is called 'www-data'.