Manual Page Result
0
Command: mdo | Section: 1 | Source: FreeBSD | File: mdo.1.gz
MDO(1) FreeBSD General Commands Manual 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)
FreeBSD 14.1-RELEASE-p8 May 22, 2024 FreeBSD 14.1-RELEASE-p8