[15:18] <gcg> Hello, I am trying to start a service as a different user with sudo but it gives an error like this: "sudo: sorry, you must have a tty to run sudo" 
[15:18] <gcg> my distro is centos 
[15:19] <gcg> I found couple of solutions from google but all of them from 1-2 years old and mentions that this feature will be added
[15:19] <gcg> did it? :) 
[15:34] <xnox> gcg: yes.
[15:35] <xnox> gcg: check $ man 5 init
[15:35] <xnox> gcg: on your system and check if you have "setuid" & "setgid" stanzas available to you
[15:37] <gcg> nice, setuid is what I am looking for, thank you xnox 
[16:12] <jodh> xnox: he may be back - I think upstart in centos is too old for either logging or set?id
[16:16] <xnox> ack.