You're right, I installed the virtualenv as user root into /root.
The reason for this is that I can't run 'yum' and probably many of the other commands from joshmoe, so I gave up on that route. But I'm open for suggestions...do you think it would be better to try to get access to these commands?
But I need to be able to use the virtualenv as a non-root user, joshmoe. (And start/stop postgresql as this other user)
I've found a good many examples of sudoer statements. But I can't figure out the syntax that will make this work. I'm hoping once I get this one, I'll be able to give access to statements like 'service postgresql status' and so forth.
Looks to me you installed the virtualenv as user root into /root. Why not install the virtualenv as joshme into /joshme? Then you avoid the sudo problems all together. It also one of the benefits of virtualenv you can run programs as an ordinary user and not make them system wide.