There's a program runaspwd. With this you can spawn processes with specific credentials. Maybe this is what you're looking for?
_________________________
Kind regards,