#4451 Typo in upstream documentation.
Closed: Fixed None Opened 9 years ago by lslebodn.

I tried to write script for generation of big amount of sudo rules.
I followed the upstream documentation[1] "Example 14.1. Creating Basic sudo Rules"

There is a command:

$ ipa sudorule-add-allow-command --sudocmd "/usr/bin/vim" files-commands
  Rule name: files-commands
  Enabled: TRUE
  sudo Commands: /usr/bin/vim
-------------------------
Number of members added 1
-------------------------

Unfortunately, the real output is different:

Usage: ipa [global-options] sudorule-add-allow-command SUDORULE-NAME [options]

ipa: error: ambiguous option: --sudocmd (--sudocmdgroups, --sudocmds?)

[1] http://www.freeipa.org/docs/master/html-desktop/index.html#defining-sudorules


Metadata Update from @lslebodn:
- Issue assigned to rga
- Issue set to the milestone: FreeIPA 4.0.2

7 years ago

Login to comment on this ticket.

Metadata