How does dzdo command take parameter?

Showing results for 
Search instead for 
Do you mean 
Participant III
Posts: 27
Registered: ‎08-18-2016
#1 of 2 1,920

How does dzdo command take parameter?

When we add command '/bin/mount  <device> <mount point>' to dzdo, should we use '/bin/mount *' or just '/bin/mount'?


Does the global expression mean global regular expresion or something else?



Posts: 961
Topics: 3
Kudos: 256
Blog Posts: 6
Ideas: 0
Solutions: 126
Registered: ‎07-06-2010
#2 of 2 1,881

Re: How does dzdo command take parameter?

[ Edited ]

Page 156 and 157 of the Centrify Admin Guide explains how this works in detail.

In summary, the Glob expression matching uses the glob function and regular expressions use regcomp, regexec, and regex to match the configured commands against the command executed.&nbsp; See man glob and glob (7) and man regcomp, regexec and regex for more details.

The recommendation is to always be as specific as possible when configuring the command to make sure users can only execute the commands intended to be granted.

Felderi Santiago
VP of Enterprise Solutions
Centrify Corporation
Found my response helpful? Click the Kudos button!
Follow Centrify: