1SSS_USERMOD(8)                 SSSD Manual pages                SSS_USERMOD(8)
2
3
4

NAME

6       sss_usermod - modify a user account
7

SYNOPSIS

9       sss_usermod [options] LOGIN
10

DESCRIPTION

12       sss_usermod modifies the account specified by LOGIN to reflect the
13       changes that are specified on the command line.
14

OPTIONS

16       -c,--gecos COMMENT
17           Any text string describing the user. Often used as the field for
18           the user´s full name.
19
20       -h,--home HOME_DIR
21           The home directory of the user account.
22
23       -s,--shell SHELL
24           The user´s login shell.
25
26       -a,--append-group GROUPS
27           Append this user to groups specified by the GROUPS parameter. The
28           GROUPS parameter is a comma separated list of group names.
29
30       -r,--remove-group GROUPS
31           Remove this user from groups specified by the GROUPS parameter.
32
33       -l,--lock
34           Lock the user account. The user won´t be able to log in.
35
36       -u,--unlock
37           Unlock the user account.
38
39       -Z,--selinux-user SELINUX_USER
40           The SELinux user for the user´s login.
41
42       --addattr ATTR_NAME_VAL
43           Add an attribute/value pair. The format is attrname=value.
44
45       --setattr ATTR_NAME_VAL
46           Set an attribute to a name/value pair. The format is
47           attrname=value. For multi-valued attributes, the command replaces
48           the values already present
49
50       --delattr ATTR_NAME_VAL
51           Delete an attribute/value pair. The format is attrname=value.
52
53       -?,--help
54           Display help message and exit.
55

THE LOCAL DOMAIN

57       In order to function correctly, a domain with “id_provider=local” must
58       be created and the SSSD must be running.
59
60       The administrator might want to use the SSSD local users instead of
61       traditional UNIX users in cases where the group nesting (see
62       sss_groupadd(8)) is needed. The local users are also useful for testing
63       and development of the SSSD without having to deploy a full remote
64       server. The sss_user* and sss_group* tools use a local LDB storage to
65       store users and groups.
66

SEE ALSO

68       sssd(8), sssd.conf(5), sssd-ldap(5), sssd-krb5(5), sssd-simple(5),
69       sssd-ipa(5), sssd-ad(5), sssd-sudo(5), sss_cache(8), sss_debuglevel(8),
70       sss_groupadd(8), sss_groupdel(8), sss_groupshow(8), sss_groupmod(8),
71       sss_useradd(8), sss_userdel(8), sss_usermod(8), sss_obfuscate(8),
72       sss_seed(8), sssd_krb5_locator_plugin(8), sss_ssh_authorizedkeys(8),
73       sss_ssh_knownhostsproxy(8), sssd-ifp(5), pam_sss(8).  sss_rpcidmapd(5)
74

AUTHORS

76       The SSSD upstream - http://fedorahosted.org/sssd
77
78
79
80SSSD                              01/15/2019                    SSS_USERMOD(8)
Impressum