Mike Gerwitz e37944d827
environment: Add --user.
This change allows overriding the home directory of all filesystem mappings to
help hide the identity of the calling user in a container.

* doc/guix.texi (Invoking guix environment)[--container]: Mention --user.
[--user]: Add item.
* guix/scripts/environment.scm (show-help): Add --user.
(%options): Add --user.
(launch-environment/container) Add 'user' parameter.  Update doc.  Override
'user-mappings' using 'override-user-mappings'.  Consider override for chdir.
(mock-passwd, user-override-home, overrid-euser-dir): New procedures.
(guix-environment): Disallow --user without --container.  Provide user to
'launch-environment/container'.
* tests/guix-environment.sh: Add user test.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2018-03-02 11:55:43 +01:00
..
2018-02-26 18:19:34 +01:00
2018-03-02 11:55:43 +01:00
2017-07-21 17:03:24 +02:00
2017-01-28 18:55:20 +01:00
2017-03-18 00:38:41 +01:00
2017-11-21 23:09:16 +01:00
2017-05-03 16:16:17 +02:00
2018-02-26 18:19:34 +01:00
2017-11-08 22:31:58 +01:00
2018-02-10 19:03:57 +01:00
2017-05-03 16:16:17 +02:00
2017-12-12 18:11:22 +01:00
2015-01-11 23:50:01 +01:00
2017-12-11 19:12:23 +00:00