How does dzdo command take parameter?
Turn on suggestions

Auto-suggest helps you quickly narrow down your search results by suggesting possible matches as you type.
Showing results for
Reply
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
Highlighted
#1 of 2
1,791
How does dzdo command take parameter?
Options
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
10-12-2017 02:30 PM
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?
Thanks.

Centrify Guru I
Posts: 961
Topics: 3
Kudos: 256
Blog Posts: 6
Ideas: 0
Solutions: 126
Registered:
07-06-2010
#2 of 2
1,752
Re: How does dzdo command take parameter?
[ Edited ]Options
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
10-14-2017 06:14 AM
Hello,
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. 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.
Regards,
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. 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.
Regards,
Felderi Santiago
VP of Enterprise Solutions
Centrify Corporation
Found my response helpful? Click the Kudos button!
Follow Centrify:
VP of Enterprise Solutions
Centrify Corporation
Found my response helpful? Click the Kudos button!
Follow Centrify:



