MDO(1)

NAME
mdo - execute commands as another user

SYNOPSIS
mdo [-u username] [-i] [command [args]]

DESCRIPTION
The mdo utility executes the specified command as user username.

If no username is provided it defaults to the root user. If no command is specified, it will execute the shell specified as SHELL environnement variable, falling back on /bin/sh.

The -i option can be used to only call setuid() and keep the group from the calling user.

SEE ALSO
su(1), mac_do(4)