Skip site navigation (1)Skip section navigation (2)

FreeBSD Manual Pages

  
 
  

home | help
MDO(1)			    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 environ-
       nement 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	13.2			 May 22, 2024				MDO(1)

NAME | SYNOPSIS | DESCRIPTION | SEE ALSO

Want to link to this manual page? Use this URL:
<https://man.freebsd.org/cgi/man.cgi?query=mdo&sektion=1&manpath=FreeBSD+14.2-RELEASE+and+Ports>

home | help