[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-devel] [PULL 17/18] docs/devel/testing: Add -a option to usermod c
From: |
Alex Bennée |
Subject: |
[Qemu-devel] [PULL 17/18] docs/devel/testing: Add -a option to usermod command on docker setup |
Date: |
Mon, 11 Feb 2019 13:05:06 +0000 |
From: Murilo Opsfelder Araujo <address@hidden>
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: address@hidden
Signed-off-by: Murilo Opsfelder Araujo <address@hidden>
Message-Id: <address@hidden>
Signed-off-by: Alex Bennée <address@hidden>
diff --git a/docs/devel/testing.rst b/docs/devel/testing.rst
index 18e2c0868a..135743a2bf 100644
--- a/docs/devel/testing.rst
+++ b/docs/devel/testing.rst
@@ -301,7 +301,7 @@ An alternative method to set up permissions is by adding
the current user to
.. code::
$ sudo groupadd docker
- $ sudo usermod $USER -G docker
+ $ sudo usermod $USER -a -G docker
$ sudo chown :docker /var/run/docker.sock
Note that any one of above configurations makes it possible for the user to
--
2.20.1
- [Qemu-devel] [PULL 00/18] testing updates: travis/cirrus/vm-test/binfmt, Alex Bennée, 2019/02/11
- [Qemu-devel] [PULL 02/18] .travis.yml: stop requesting libffi & gettext from homebrew, Alex Bennée, 2019/02/11
- [Qemu-devel] [PULL 01/18] .cirrus.yml: basic compile and test for FreeBSD, Alex Bennée, 2019/02/11
- [Qemu-devel] [PULL 03/18] .travis.yml: separate tools and docs into another entry, Alex Bennée, 2019/02/11
- [Qemu-devel] [PULL 04/18] .travis.yml: fold --disable-tcg into alternate coroutine builds, Alex Bennée, 2019/02/11
- [Qemu-devel] [PULL 11/18] tests: PEP8 cleanup of docker.py, mostly white space, Alex Bennée, 2019/02/11
- [Qemu-devel] [PULL 08/18] tests: make docker.py update use configured binfmt path, Alex Bennée, 2019/02/11
- [Qemu-devel] [PULL 10/18] tests: docker.py be even smarter with persistent binfmt_misc, Alex Bennée, 2019/02/11
- [Qemu-devel] [PULL 17/18] docs/devel/testing: Add -a option to usermod command on docker setup,
Alex Bennée <=
- [Qemu-devel] [PULL 05/18] MAINTAINERS: Add an entry for scripts/archive-source.sh, Alex Bennée, 2019/02/11
- [Qemu-devel] [PULL 12/18] tests/vm: move images to $HOME/.cache/qemu-vm/images, Alex Bennée, 2019/02/11
- [Qemu-devel] [PULL 09/18] tests: make docker.py check for persistent configs, Alex Bennée, 2019/02/11
- [Qemu-devel] [PULL 07/18] docker: add debian-buster-arm64-cross, Alex Bennée, 2019/02/11
- [Qemu-devel] [PULL 06/18] archive-source.sh: Clone the submodules locally, Alex Bennée, 2019/02/11
- [Qemu-devel] [PULL 13/18] tests/vm: call make check directly for netbsd/freebsd/ubuntu.i386, Alex Bennée, 2019/02/11
- [Qemu-devel] [PULL 18/18] tests/vm: Be verbose while extracting compressed images, Alex Bennée, 2019/02/11
- [Qemu-devel] [PULL 16/18] scripts/qemu.py: allow arches use KVM for their 32bit cousins, Alex Bennée, 2019/02/11
- [Qemu-devel] [PULL 14/18] tests/vm: add --build-target option, Alex Bennée, 2019/02/11