Hi, this question is a bit stupid but I'm left clueless.
I want to let a regular user (not just root) restart apache on my Ubuntu machine.
I was using /etc/init.d/apache2 so I figured this is what I have to set permissions for. I set the owner group for this file a group to which that user also belongs. I set the chmod to 775 but it didn't work. I then even set it to 4775 thinking this would totally make it work but it still didn't.
I'm obviously giving permissions to the wrong file.
The error says:
httpd not running, trying to start
(13)Permission denied: make_sock: could not bind to address 0.0.0.0:80
no listening sockets available, shutting down
Unable to open logs
But I didn't find httpd anywhere on my machine.
What am I missing? Thanks!