← 返回命令列表

Linux command

dzdo 命令

文本

复制后可按需替换文件名、目录或参数。

常用示例

Run command

dzdo [command]

Run as specific

dzdo -u [username] [command]

Run with login

dzdo -i

Run a root shell

dzdo -s

List user's permissions

dzdo -l

说明

dzdo is Centrify's replacement for sudo, providing privileged command execution with Active Directory integration. It allows users to run commands as root or other users based on centralized policy. dzdo integrates with Centrify's DirectControl for unified identity management across Unix/Linux and Windows systems. Policies are managed in Active Directory rather than local sudoers files. The tool provides similar functionality to sudo but with enterprise authentication and authorization features.

参数

-u _USER_
Run as specified user.
-i
Run login shell.
-l
List allowed commands.
-s
Run a shell instead of a specific command.
-n
Non-interactive (no password prompt).
-H
Set the HOME environment variable to the target user's home directory.
-k
Invalidate the user's cached credentials.
-v
Validate/extend credentials without running a command.
-V
Display version information.

FAQ

What is the dzdo command used for?

dzdo is Centrify's replacement for sudo, providing privileged command execution with Active Directory integration. It allows users to run commands as root or other users based on centralized policy. dzdo integrates with Centrify's DirectControl for unified identity management across Unix/Linux and Windows systems. Policies are managed in Active Directory rather than local sudoers files. The tool provides similar functionality to sudo but with enterprise authentication and authorization features.

How do I run a basic dzdo example?

Run `dzdo [command]` in a terminal, then adjust file names, paths, flags, or remote targets for your system.

What does -u _USER_ do in dzdo?

Run as specified user.