upstart question

Johan Kiviniemi netsplit.com-upstart-devel at johan.kiviniemi.name
Tue Oct 31 18:18:27 GMT 2006


On Tue, Oct 31, 2006 at 10:19:38AM -0600, Benjamin Montgomery wrote:
> This seemed like a really easy thing to code up until I remembered
> that you need root privs to start and stop apache and mysql.  I don't
> want to be root when I log in, and I don't want the applet to be suid
> to root.

You could just use sudo. Something like this should work:

username ALL = NOPASSWD: /sbin/start apache, /sbin/stop apache

Cheers,
-- 
Jοhan Kiviniemi  http://johan.kiviniemi.name/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
Url : https://lists.ubuntu.com/archives/upstart-devel/attachments/20061031/1a69c320/attachment.pgp 


More information about the Upstart-devel mailing list