Displaying 1 result from an estimated 1 matches for "my_service_alias".
2011 Dec 20
2
sendmail and sudo
This is annoying. I ssh to a server, then, it doesn't matter if I su - or
sudo -s, I start a service (motion, if it matters), and when the service
sends an email, it's from me, not from root, or the user the service runs
as.
I've dumped my environment, I've just dumped service's environment. I've
set SUDO_USER to root, and SUDO_UID to 0, and restarted the service, and