[02:55] .wub 34 [02:57] wubwubwubwubwubwubwubwubwubwubwubwubwubwub [20:27] I'm trying to find if it's possible to have upstart run a job as another user. It would be a non-interactive job. I've found a post that mentions it is going to be in an upcoming version, but I can't find anything else about it, and I'm not sure where I can subscribe to so I see when this functionality exists [20:28] Use su for now. [20:29] from what I've read, su won't work as it needs an interactive console [20:33] correction, consolekit. We actually used to use su, but it caused issues with that and shutdown [21:45] tgm4883: I don't know why 'su' shouldn't work [21:48] maybe it needs some options in some environments? [21:50] tgm4883 asked me to pop over here about su. we ran into problems with su in the job that it left an interactive consolekit session open [21:51] so if someone tried to reboot the machine it seemed like people were still logged in and there was a warning every time to reboot [21:52] JanC, ^ [21:59] IMO that would be a bug in 'su' (or maybe su has an option to prevent that)? [22:00] (or maybe sudo is more powerful in that respect?) [22:04] the 'su' manpage lists a specific option to mimic a login session, so that indicates it should not start one by default? [22:19] we were previously doing "exec /bin/su -c "/usr/bin/mythbackend $ARGS" $USER" which caused ck-list-sessions to list a mythtv session [22:19] since then we've added support to mythtv to setuid seteuid etc, but this has the side effect that core dumps can't be captured anymore [22:20] slangasek explained here: https://bugs.launchpad.net/ubuntu/+source/consolekit/+bug/445953/comments/19