summaryrefslogtreecommitdiff
path: root/man/homectl.xml
diff options
context:
space:
mode:
authorignapk <59512193+ignapk@users.noreply.github.com>2020-06-19 08:29:59 +0200
committerLennart Poettering <lennart@poettering.net>2020-06-22 13:18:26 +0200
commit8db8f99eb93682658dad5466eac8890c1cf3d80a (patch)
treeb68568b881c5335ac5b347fdb146e917a5c92cad /man/homectl.xml
parentc4e585a36bfdc0fdad2f8c4d847d8ef2b106665d (diff)
downloadsystemd-8db8f99eb93682658dad5466eac8890c1cf3d80a.tar.gz
man: add note regarding editing user groups
Currently the manual doesn't clearly say whether `homectl update username -G group` will append the group to the user, or overwrite the list and remove user from the groups that aren't specified. Fix this by updating the manual, basing the change on the usermod manual.
Diffstat (limited to 'man/homectl.xml')
-rw-r--r--man/homectl.xml3
1 files changed, 2 insertions, 1 deletions
diff --git a/man/homectl.xml b/man/homectl.xml
index 14877a0cde..3a4c6e5f5b 100644
--- a/man/homectl.xml
+++ b/man/homectl.xml
@@ -268,7 +268,8 @@
independently, for example with <citerefentry
project='man-pages'><refentrytitle>groupadd</refentrytitle><manvolnum>8</manvolnum></citerefentry>. If
non-existent groups that are listed there are ignored. This option may be used more than once, in
- which case all specified group lists are combined.</para></listitem>
+ which case all specified group lists are combined. If the user is currently a member of a group
+ which is not listed, the user will be removed from the group.</para></listitem>
</varlistentry>
<varlistentry>