String substitution for user parameter

I thought this may be useful as sometimes you don't want to hardcode the user parameter for sudo.