def _get_user_sudo_arguments(self, user):
        flags = self._get_common_sudo_arguments()
        flags += copy.copy(SUDO_DIFFERENT_USER_OPTIONS)
        flags += ['-u', user]
        return flags
Retrieve a list of flags which are passed to sudo when running as a different user and "-u"
dataset/ETHPy150Open StackStorm/st2/st2common/st2common/models/system/action.py/ShellCommandAction._get_user_sudo_arguments