how to start services as another user

Brian J. Murrell brian at interlinx.bc.ca
Mon Mar 26 21:28:34 BST 2007


I was attempting to write an upstart script for mythtv-frontend and came
to the point where it wants to run as a different user.  Is there any
way to do this with an upstart directive and then "exec" rather than
writing a "script" that uses su - mythtv -c "mythfrontend ..."?

Given the ability to set rlimits, do chroot and chdir, etc, a "uid"
command seems suspiciously absent.

b.

-- 
My other computer is your Microsoft Windows server.

Brian J. Murrell
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
Url : https://lists.ubuntu.com/archives/upstart-devel/attachments/20070326/c92519f9/attachment-0001.pgp 


More information about the upstart-devel mailing list