842ae4bd224140319ae7feec1872b93dfd491143fielding<?xml version="1.0" encoding="UTF-8"?>
842ae4bd224140319ae7feec1872b93dfd491143fielding<!DOCTYPE reference PUBLIC "-//OASIS//DTD DocBook V4.4//EN"
842ae4bd224140319ae7feec1872b93dfd491143fielding"http://www.oasis-open.org/docbook/xml/4.4/docbookx.dtd">
842ae4bd224140319ae7feec1872b93dfd491143fielding<reference>
842ae4bd224140319ae7feec1872b93dfd491143fielding<title>SSSD Manual pages</title>
842ae4bd224140319ae7feec1872b93dfd491143fielding<refentry>
2d2eda71267231c2526be701fe655db125852c1ffielding <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="include/upstream.xml" />
ce9621257ef9e54c1bbe5ad8a5f445a1f211c2dcnd
2d2eda71267231c2526be701fe655db125852c1ffielding <refmeta>
ce9621257ef9e54c1bbe5ad8a5f445a1f211c2dcnd <refentrytitle>sss_usermod</refentrytitle>
ce9621257ef9e54c1bbe5ad8a5f445a1f211c2dcnd <manvolnum>8</manvolnum>
ce9621257ef9e54c1bbe5ad8a5f445a1f211c2dcnd </refmeta>
ce9621257ef9e54c1bbe5ad8a5f445a1f211c2dcnd
ce9621257ef9e54c1bbe5ad8a5f445a1f211c2dcnd <refnamediv id='name'>
2d2eda71267231c2526be701fe655db125852c1ffielding <refname>sss_usermod</refname>
2d2eda71267231c2526be701fe655db125852c1ffielding <refpurpose>modify a user account</refpurpose>
9d129b55f5a43abf43865c6b0eb6dd19bc22aba8ianh </refnamediv>
9d129b55f5a43abf43865c6b0eb6dd19bc22aba8ianh
9d129b55f5a43abf43865c6b0eb6dd19bc22aba8ianh <refsynopsisdiv id='synopsis'>
9d129b55f5a43abf43865c6b0eb6dd19bc22aba8ianh <cmdsynopsis>
9d129b55f5a43abf43865c6b0eb6dd19bc22aba8ianh <command>sss_usermod</command>
9d129b55f5a43abf43865c6b0eb6dd19bc22aba8ianh <arg choice='opt'>
9d129b55f5a43abf43865c6b0eb6dd19bc22aba8ianh <replaceable>options</replaceable>
9d129b55f5a43abf43865c6b0eb6dd19bc22aba8ianh </arg>
9d129b55f5a43abf43865c6b0eb6dd19bc22aba8ianh <arg choice='plain'><replaceable>LOGIN</replaceable></arg>
2d2eda71267231c2526be701fe655db125852c1ffielding </cmdsynopsis>
2d2eda71267231c2526be701fe655db125852c1ffielding </refsynopsisdiv>
2d2eda71267231c2526be701fe655db125852c1ffielding
fcc25eda7b150e226d3c1cdaea66a943d3fdee4erbb <refsect1 id='description'>
b980ad7fdc218b4855cde9f75a747527f50c554dwrowe <title>DESCRIPTION</title>
ab5581cc78e9d865b0a6ab1404c53347b3276968rbb <para>
92f3af936ce61f25358a3ee4f28df2f6d62040dfdreid <command>sss_usermod</command> modifies the
fcc25eda7b150e226d3c1cdaea66a943d3fdee4erbb account specified by <replaceable>LOGIN</replaceable>
c9a95767fbf0f5fb0976a06b97a256033925e433rbb to reflect the changes that are specified on the command line.
fd0edaa8e3d4dd67d0604ccef2e96b071db96643fielding </para>
2d2eda71267231c2526be701fe655db125852c1ffielding </refsect1>
2d2eda71267231c2526be701fe655db125852c1ffielding
2d2eda71267231c2526be701fe655db125852c1ffielding <refsect1 id='options'>
2d2eda71267231c2526be701fe655db125852c1ffielding <title>OPTIONS</title>
52de7a47876ce1748910cf3a0ee97f78842fab54rederpj <variablelist remap='IP'>
52de7a47876ce1748910cf3a0ee97f78842fab54rederpj <varlistentry>
52de7a47876ce1748910cf3a0ee97f78842fab54rederpj <term>
52de7a47876ce1748910cf3a0ee97f78842fab54rederpj <option>-c</option>,<option>--gecos</option>
52de7a47876ce1748910cf3a0ee97f78842fab54rederpj <replaceable>COMMENT</replaceable>
52de7a47876ce1748910cf3a0ee97f78842fab54rederpj </term>
52de7a47876ce1748910cf3a0ee97f78842fab54rederpj <listitem>
9d129b55f5a43abf43865c6b0eb6dd19bc22aba8ianh <para>
fd492f9543f14fb5bae78e04b135c3448eb9cc56rbb Any text string describing the user. Often used as
fd492f9543f14fb5bae78e04b135c3448eb9cc56rbb the field for the user's full name.
fd492f9543f14fb5bae78e04b135c3448eb9cc56rbb </para>
fd492f9543f14fb5bae78e04b135c3448eb9cc56rbb </listitem>
2d2eda71267231c2526be701fe655db125852c1ffielding </varlistentry>
2d2eda71267231c2526be701fe655db125852c1ffielding <varlistentry>
2d2eda71267231c2526be701fe655db125852c1ffielding <term>
2d2eda71267231c2526be701fe655db125852c1ffielding <option>-h</option>,<option>--home</option>
2d2eda71267231c2526be701fe655db125852c1ffielding <replaceable>HOME_DIR</replaceable>
61fd0cab072a05b855cbef9c585702401ac5ae29rbb </term>
61fd0cab072a05b855cbef9c585702401ac5ae29rbb <listitem>
61fd0cab072a05b855cbef9c585702401ac5ae29rbb <para>
61fd0cab072a05b855cbef9c585702401ac5ae29rbb The home directory of the user account.
61fd0cab072a05b855cbef9c585702401ac5ae29rbb </para>
2d2eda71267231c2526be701fe655db125852c1ffielding </listitem>
2d2eda71267231c2526be701fe655db125852c1ffielding </varlistentry>
8af88bd6958b80c224e964892b8237720b13ab1ajerenkrantz <varlistentry>
8af88bd6958b80c224e964892b8237720b13ab1ajerenkrantz <term>
8af88bd6958b80c224e964892b8237720b13ab1ajerenkrantz <option>-s</option>,<option>--shell</option>
8af88bd6958b80c224e964892b8237720b13ab1ajerenkrantz <replaceable>SHELL</replaceable>
50e60f30bdc074fbc887f0b98f4d570457ac97c9brianp </term>
50e60f30bdc074fbc887f0b98f4d570457ac97c9brianp <listitem>
50e60f30bdc074fbc887f0b98f4d570457ac97c9brianp <para>
50e60f30bdc074fbc887f0b98f4d570457ac97c9brianp The user's login shell.
50e60f30bdc074fbc887f0b98f4d570457ac97c9brianp </para>
50e60f30bdc074fbc887f0b98f4d570457ac97c9brianp </listitem>
50e60f30bdc074fbc887f0b98f4d570457ac97c9brianp </varlistentry>
50e60f30bdc074fbc887f0b98f4d570457ac97c9brianp <varlistentry>
50e60f30bdc074fbc887f0b98f4d570457ac97c9brianp <term>
50e60f30bdc074fbc887f0b98f4d570457ac97c9brianp <option>-a</option>,<option>--append-group</option>
8af88bd6958b80c224e964892b8237720b13ab1ajerenkrantz <replaceable>GROUPS</replaceable>
bfb62a96023822c56c9120e4ee627d4091cc59c2rbb </term>
bfb62a96023822c56c9120e4ee627d4091cc59c2rbb <listitem>
61fd0cab072a05b855cbef9c585702401ac5ae29rbb <para>
61fd0cab072a05b855cbef9c585702401ac5ae29rbb Append this user to groups specified by the
61fd0cab072a05b855cbef9c585702401ac5ae29rbb <replaceable>GROUPS</replaceable> parameter.
61fd0cab072a05b855cbef9c585702401ac5ae29rbb The <replaceable>GROUPS</replaceable> parameter
61fd0cab072a05b855cbef9c585702401ac5ae29rbb is a comma separated list of group names.
3d96ee83babeec32482c9082c9426340cee8c44dwrowe </para>
2d2eda71267231c2526be701fe655db125852c1ffielding </listitem>
61fd0cab072a05b855cbef9c585702401ac5ae29rbb </varlistentry>
61fd0cab072a05b855cbef9c585702401ac5ae29rbb <varlistentry>
61fd0cab072a05b855cbef9c585702401ac5ae29rbb <term>
61fd0cab072a05b855cbef9c585702401ac5ae29rbb <option>-r</option>,<option>--remove-group</option>
61fd0cab072a05b855cbef9c585702401ac5ae29rbb <replaceable>GROUPS</replaceable>
61fd0cab072a05b855cbef9c585702401ac5ae29rbb </term>
61fd0cab072a05b855cbef9c585702401ac5ae29rbb <listitem>
61fd0cab072a05b855cbef9c585702401ac5ae29rbb <para>
2d2eda71267231c2526be701fe655db125852c1ffielding Remove this user from groups specified by the
3d96ee83babeec32482c9082c9426340cee8c44dwrowe <replaceable>GROUPS</replaceable> parameter.
2d2eda71267231c2526be701fe655db125852c1ffielding </para>
2d2eda71267231c2526be701fe655db125852c1ffielding </listitem>
2d2eda71267231c2526be701fe655db125852c1ffielding </varlistentry>
2d2eda71267231c2526be701fe655db125852c1ffielding <varlistentry>
000b67449410515eac43e76ef6667915bfd4d2abgstein <term>
2d2eda71267231c2526be701fe655db125852c1ffielding <option>-l</option>,<option>--lock</option>
2d2eda71267231c2526be701fe655db125852c1ffielding </term>
2d2eda71267231c2526be701fe655db125852c1ffielding <listitem>
61fd0cab072a05b855cbef9c585702401ac5ae29rbb <para>
61fd0cab072a05b855cbef9c585702401ac5ae29rbb Lock the user account. The user won't be able
61fd0cab072a05b855cbef9c585702401ac5ae29rbb to log in.
61fd0cab072a05b855cbef9c585702401ac5ae29rbb </para>
61fd0cab072a05b855cbef9c585702401ac5ae29rbb </listitem>
7bdef86e15d47d16dcbe7a5611683191774bd5fbgstein </varlistentry>
7bdef86e15d47d16dcbe7a5611683191774bd5fbgstein <varlistentry>
61fd0cab072a05b855cbef9c585702401ac5ae29rbb <term>
61fd0cab072a05b855cbef9c585702401ac5ae29rbb <option>-u</option>,<option>--unlock</option>
61fd0cab072a05b855cbef9c585702401ac5ae29rbb </term>
61fd0cab072a05b855cbef9c585702401ac5ae29rbb <listitem>
61fd0cab072a05b855cbef9c585702401ac5ae29rbb <para>
3d96ee83babeec32482c9082c9426340cee8c44dwrowe Unlock the user account.
7bdef86e15d47d16dcbe7a5611683191774bd5fbgstein </para>
61fd0cab072a05b855cbef9c585702401ac5ae29rbb </listitem>
61fd0cab072a05b855cbef9c585702401ac5ae29rbb </varlistentry>
61fd0cab072a05b855cbef9c585702401ac5ae29rbb <varlistentry>
61fd0cab072a05b855cbef9c585702401ac5ae29rbb <term>
61fd0cab072a05b855cbef9c585702401ac5ae29rbb <option>-Z</option>,<option>--selinux-user</option>
61fd0cab072a05b855cbef9c585702401ac5ae29rbb <replaceable>SELINUX_USER</replaceable>
61fd0cab072a05b855cbef9c585702401ac5ae29rbb </term>
3d96ee83babeec32482c9082c9426340cee8c44dwrowe <listitem>
7bdef86e15d47d16dcbe7a5611683191774bd5fbgstein <para>
c9a95767fbf0f5fb0976a06b97a256033925e433rbb The SELinux user for the user's login.
c9a95767fbf0f5fb0976a06b97a256033925e433rbb </para>
c9a95767fbf0f5fb0976a06b97a256033925e433rbb </listitem>
cf8d02ea0c91653917b044529f3133c5a1bb9200fielding </varlistentry>
c9a95767fbf0f5fb0976a06b97a256033925e433rbb <varlistentry>
c9a95767fbf0f5fb0976a06b97a256033925e433rbb <term>
c9a95767fbf0f5fb0976a06b97a256033925e433rbb <option>--addattr</option>
c9a95767fbf0f5fb0976a06b97a256033925e433rbb <replaceable>ATTR_NAME_VAL</replaceable>
9d129b55f5a43abf43865c6b0eb6dd19bc22aba8ianh </term>
c9a95767fbf0f5fb0976a06b97a256033925e433rbb <listitem>
c9a95767fbf0f5fb0976a06b97a256033925e433rbb <para>
d82d78a97558238d16c52ec5278fe921bb7d7ec3brianp Add an attribute/value pair. The format is
d82d78a97558238d16c52ec5278fe921bb7d7ec3brianp attrname=value.
d82d78a97558238d16c52ec5278fe921bb7d7ec3brianp </para>
d82d78a97558238d16c52ec5278fe921bb7d7ec3brianp </listitem>
d82d78a97558238d16c52ec5278fe921bb7d7ec3brianp </varlistentry>
9d129b55f5a43abf43865c6b0eb6dd19bc22aba8ianh <varlistentry>
d82d78a97558238d16c52ec5278fe921bb7d7ec3brianp <term>
d82d78a97558238d16c52ec5278fe921bb7d7ec3brianp <option>--setattr</option>
c9a95767fbf0f5fb0976a06b97a256033925e433rbb <replaceable>ATTR_NAME_VAL</replaceable>
61fd0cab072a05b855cbef9c585702401ac5ae29rbb </term>
61fd0cab072a05b855cbef9c585702401ac5ae29rbb <listitem>
61fd0cab072a05b855cbef9c585702401ac5ae29rbb <para>
61fd0cab072a05b855cbef9c585702401ac5ae29rbb Set an attribute to a name/value pair. The format
61fd0cab072a05b855cbef9c585702401ac5ae29rbb is attrname=value. For multi-valued attributes,
61fd0cab072a05b855cbef9c585702401ac5ae29rbb the command replaces the values already present
61fd0cab072a05b855cbef9c585702401ac5ae29rbb </para>
61fd0cab072a05b855cbef9c585702401ac5ae29rbb </listitem>
3d96ee83babeec32482c9082c9426340cee8c44dwrowe </varlistentry>
7bdef86e15d47d16dcbe7a5611683191774bd5fbgstein <varlistentry>
61fd0cab072a05b855cbef9c585702401ac5ae29rbb <term>
61fd0cab072a05b855cbef9c585702401ac5ae29rbb <option>--delattr</option>
9d129b55f5a43abf43865c6b0eb6dd19bc22aba8ianh <replaceable>ATTR_NAME_VAL</replaceable>
61fd0cab072a05b855cbef9c585702401ac5ae29rbb </term>
3d96ee83babeec32482c9082c9426340cee8c44dwrowe <listitem>
7bdef86e15d47d16dcbe7a5611683191774bd5fbgstein <para>
61fd0cab072a05b855cbef9c585702401ac5ae29rbb Delete an attribute/value pair. The format is attrname=value.
61fd0cab072a05b855cbef9c585702401ac5ae29rbb </para>
61fd0cab072a05b855cbef9c585702401ac5ae29rbb </listitem>
61fd0cab072a05b855cbef9c585702401ac5ae29rbb </varlistentry>
3d96ee83babeec32482c9082c9426340cee8c44dwrowe <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="include/param_help.xml" />
7bdef86e15d47d16dcbe7a5611683191774bd5fbgstein </variablelist>
61fd0cab072a05b855cbef9c585702401ac5ae29rbb </refsect1>
61fd0cab072a05b855cbef9c585702401ac5ae29rbb
61fd0cab072a05b855cbef9c585702401ac5ae29rbb <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="include/local.xml" />
61fd0cab072a05b855cbef9c585702401ac5ae29rbb
61fd0cab072a05b855cbef9c585702401ac5ae29rbb <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="include/seealso.xml" />
78ae1cbba5a848a24ca551629bbf0a90d2b931f0stas
78ae1cbba5a848a24ca551629bbf0a90d2b931f0stas</refentry>
61fd0cab072a05b855cbef9c585702401ac5ae29rbb</reference>
3d96ee83babeec32482c9082c9426340cee8c44dwrowe