summaryrefslogtreecommitdiffstats
path: root/src/man
diff options
context:
space:
mode:
authorJakub Hrozek <jhrozek@redhat.com>2014-05-25 17:17:57 +0200
committerJakub Hrozek <jhrozek@redhat.com>2014-06-01 22:15:01 +0200
commitd10fb882aa4a30f78493b7162f482bb0f17d3ff5 (patch)
treedc33d5403cd4c11e7d7248657e9564795cdca2fd /src/man
parent6973f38e624e757587b14f1dbabc3466492d1dac (diff)
downloadsssd-d10fb882aa4a30f78493b7162f482bb0f17d3ff5.tar.gz
sssd-d10fb882aa4a30f78493b7162f482bb0f17d3ff5.tar.xz
sssd-d10fb882aa4a30f78493b7162f482bb0f17d3ff5.zip
TOOLS: Allow adding and modifying custom attributes with sss_usermod
https://fedorahosted.org/sssd/ticket/2182 Adds three new options to the sss_usermod tool: --addattr --setattr --delattr The syntax is attrname=val1,val2, For example: sss_usermod --addattr=phone-123-456 tuser The operations are performed in the order of add, mod, del. Reviewed-by: Michal Židek <mzidek@redhat.com>
Diffstat (limited to 'src/man')
-rw-r--r--src/man/sss_usermod.8.xml36
1 files changed, 36 insertions, 0 deletions
diff --git a/src/man/sss_usermod.8.xml b/src/man/sss_usermod.8.xml
index 55f8cd00d..b9fef8237 100644
--- a/src/man/sss_usermod.8.xml
+++ b/src/man/sss_usermod.8.xml
@@ -130,6 +130,42 @@
</para>
</listitem>
</varlistentry>
+ <varlistentry>
+ <term>
+ <option>--addattr</option>
+ <replaceable>ATTR_NAME_VAL</replaceable>
+ </term>
+ <listitem>
+ <para>
+ Add an attribute/value pair. The format is
+ attrname=value.
+ </para>
+ </listitem>
+ </varlistentry>
+ <varlistentry>
+ <term>
+ <option>--setattr</option>
+ <replaceable>ATTR_NAME_VAL</replaceable>
+ </term>
+ <listitem>
+ <para>
+ Set an attribute to a name/value pair. The format
+ is attrname=value. For multi-valued attributes,
+ the command replaces the values already present
+ </para>
+ </listitem>
+ </varlistentry>
+ <varlistentry>
+ <term>
+ <option>--delattr</option>
+ <replaceable>ATTR_NAME_VAL</replaceable>
+ </term>
+ <listitem>
+ <para>
+ Delete an attribute/value pair. The format is attrname=value.
+ </para>
+ </listitem>
+ </varlistentry>
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="include/param_help.xml" />
</variablelist>
</refsect1>