invoke-sudo.sh: support sudo as other users