Tips for finding Knowledge Articles

  • - Enter just a few key words related to your question or problem
  • - Add Key words to refine your search as necessary
  • - Do not use punctuation
  • - Search is not case sensitive
  • - Avoid non-descriptive filler words like "how", "the", "what", etc.
  • - If you do not find what you are looking for the first time,reduce the number of key words you enter and try searching again.
  • - Minimum supported Internet Explorer version is IE9
Home  >
article

KB-11171: How to setup and use dzdo instead of sudo

Authentication Service ,  

9 October,18 at 07:42 PM

This article goes over how to setup and use dzdo in the same way you use sudo. 

The first step you will take is going into Access manager and expanding the "UNIX Right Definitions" section under the authorization tab. Then right click and select "New command" under the "Commands" section. 
User-added image

This will bring up the properties window. You will first want to configure the General tab, you can replicate the setup below. 
User-added image

After configuring the general tab, you will need to configure the "Restricted Shell" (see below)
User-added image

Next you will be specifying who the command will be run as. Be sure you check the "Can be used by dzdo" followed by specifying root as the user this command will be run as. 
User-added image

You can leave the Environment section as is. 

Lastly, you will want to configure the attributes for this command. This is where you can specify if re-authentication is required after running the command. 
User-added image

Once you've set this, click "Apply" at the bottom right. You're now ready to test the command. 
User-added image 
You can confirm it's setup correct if you can run a root privilege command like adflush using dzdo. 

Still have questions? Click here to log a technical support case, or collaborate with your peers in Centrify's Online Community.

Related Articles

No related Articles