You are not logged in.

#1 2013-03-05 17:03:57

edumstpu
Member
Registered: 2013-03-05
Posts: 10

Apache and MySQL Daemons without SUDO

Hi.

I'm new to Arch Linux and I'd like to know how I could authorize my default user to start Apache and MySQL daemons without having to use sudo. The reason I'd like to do this is because I use OpenBox and I want to create a custom menu item to start/stop such daemons, and to do that I can't count on sudo.

I know that every user has access to "systemctl shutdown/reboot", but how can I allow my user to have access to "systemctl start/stop httpd" without the need of sudo?

Thanks in advance,
    Eduardo.

Offline

#2 2013-03-05 20:00:29

edumstpu
Member
Registered: 2013-03-05
Posts: 10

Re: Apache and MySQL Daemons without SUDO

I solved it with gksudo. It seems to be the best solution: it's safe and simple.

Offline

Board footer

Powered by FluxBB