mirror of
https://github.com/ivuorinen/cheatsheet-tldr.git
synced 2026-03-18 02:00:57 +00:00
Update cheatsheets
This commit is contained in:
42
tldr/dzdo
Normal file
42
tldr/dzdo
Normal file
@@ -0,0 +1,42 @@
|
||||
---
|
||||
syntax: markdown
|
||||
tags: [tldr, common]
|
||||
source: https://github.com/tldr-pages/tldr.git
|
||||
---
|
||||
# dzdo
|
||||
|
||||
> Execute privileged commands as root or another user via Active Directory roles.
|
||||
> Similar to `sudo` but integrated with Delinea; supports Ansible become plugin.
|
||||
> More information: <https://docs.delinea.com/online-help/server-suite/commandref/centrify-command-reference-2025.pdf#page=102>.
|
||||
|
||||
- Run a command with elevated privileges:
|
||||
|
||||
`dzdo {{command}}`
|
||||
|
||||
- Run a command as another user:
|
||||
|
||||
`dzdo -u {{user}} {{command}}`
|
||||
|
||||
- Edit a file with elevated privileges using the default editor:
|
||||
|
||||
`dzdo -e {{path/to/file}}`
|
||||
|
||||
- Launch an interactive login shell with elevated privileges:
|
||||
|
||||
`dzdo -i`
|
||||
|
||||
- Launch the default shell with elevated privileges:
|
||||
|
||||
`dzdo -s`
|
||||
|
||||
- List allowed commands for the current user:
|
||||
|
||||
`dzdo -l`
|
||||
|
||||
- Validate and update authentication timestamp:
|
||||
|
||||
`dzdo -v`
|
||||
|
||||
- Display version:
|
||||
|
||||
`dzdo -V`
|
||||
Reference in New Issue
Block a user