summary refs log tree commit diff stats
path: root/qemu-io-cmds.c
diff options
context:
space:
mode:
authorMurilo Opsfelder Araujo <muriloo@linux.ibm.com>2019-02-07 16:43:46 -0200
committerAlex Bennée <alex.bennee@linaro.org>2019-02-11 12:46:59 +0000
commit29c33cc1074a727da61516f98f868c168cd91f53 (patch)
tree588d363d893b749156dafa047edd5ec4ccf1a008 /qemu-io-cmds.c
parent2d4e4c01b1a9f5c4f9d066cfdd3fd66542faa8bb (diff)
downloadfocaccia-qemu-29c33cc1074a727da61516f98f868c168cd91f53.tar.gz
focaccia-qemu-29c33cc1074a727da61516f98f868c168cd91f53.zip
docs/devel/testing: Add -a option to usermod command on docker setup
The option -G of usermod command will remove user from other groups
not listed, i.e.: $USER will belong only to group 'docker' after
following the documentation as is.

From usermod(8) manual page:

    If the user is currently a member of a group which is not listed,
    the user will be removed from the group. This behaviour can be
    changed via the -a option, which appends the user to the current
    supplementary group list.

This patch improves the situation by adding the -a option to the
usermod command, which will just append user to the supplementary
group list.

Cc: qemu-trivial@nongnu.org
Signed-off-by: Murilo Opsfelder Araujo <muriloo@linux.ibm.com>
Message-Id: <20190207184346.6840-1-muriloo@linux.ibm.com>
Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
Diffstat (limited to 'qemu-io-cmds.c')
0 files changed, 0 insertions, 0 deletions