Hello,

Fix for https://fedorahosted.org/freeipa/ticket/4451

Thanks,

Gabe
From e995aa908933b31509ce02ba6a57fc20fa4fc245 Mon Sep 17 00:00:00 2001
From: Gabe <redhatri...@gmail.com>
Date: Wed, 23 Jul 2014 16:19:18 -0600
Subject: [PATCH] Typo in upstream documentation

- Fix typo with --sudocmds option

https://fedorahosted.org/freeipa/ticket/4451
---
 src/user_guide/en-US/Sudo.xml | 10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)

diff --git a/src/user_guide/en-US/Sudo.xml b/src/user_guide/en-US/Sudo.xml
index 64127aa8d787f5d484c3897eb5dba17c6375ac9c..5b4b9088a46b69855a75f69a619cbe8b24f4497d 100644
--- a/src/user_guide/en-US/Sudo.xml
+++ b/src/user_guide/en-US/Sudo.xml
@@ -632,9 +632,9 @@ Added sudo rule "files-commands"
 </screen>
 
 						<para>
-							Next, add the commands to <emphasis>grant</emphasis> access to. This can be a single command, using <option>--sudocmd</option>, or a group of commands, using <option>--sudocmdgroups</option>.
+							Next, add the commands to <emphasis>grant</emphasis> access to. This can be a single command, using <option>--sudocmds</option>, or a group of commands, using <option>--sudocmdgroups</option>.
 
-<screen>$ ipa sudorule-add-allow-command --sudocmd "/usr/bin/vim" files-commands
+<screen>$ ipa sudorule-add-allow-command --sudocmds "/usr/bin/vim" files-commands
   Rule name: files-commands
   Enabled: TRUE
   sudo Commands: /usr/bin/vim
@@ -673,9 +673,9 @@ Number of members added 1
 					<para>
 						The <command>sudo</command> rule can grant access or deny access to commands. For example, this rule would allow read access to files but prevent editing:
 					</para>
-<screen>$ ipa sudorule-add-allow-command --sudocmd "/usr/bin/less" readfiles
-$ ipa sudorule-add-allow-command --sudocmd "/usr/bin/tail" readfiles
-$ ipa sudorule-add-deny-command --sudocmd "/usr/bin/vim" readfiles</screen>
+<screen>$ ipa sudorule-add-allow-command --sudocmds "/usr/bin/less" readfiles
+$ ipa sudorule-add-allow-command --sudocmds "/usr/bin/tail" readfiles
+$ ipa sudorule-add-deny-command --sudocmds "/usr/bin/vim" readfiles</screen>
 				</example>
 				<example id="Ex.sudo-options"><title>Using sudoers Options</title>
 					<para>
-- 
2.0.0

_______________________________________________
Freeipa-devel mailing list
Freeipa-devel@redhat.com
https://www.redhat.com/mailman/listinfo/freeipa-devel

Reply via email to