guix/doc
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
..
images doc: Update dot graphs. 2016-12-17 14:46:42 +01:00
contributing.texi doc: Suggest running guix-daemon with 'sudo -E'. 2018-01-17 15:48:22 -08:00
environment-gdb.scm doc: Add 'guix environment' examples. 2015-06-29 23:08:36 +02:00
fdl-1.3.texi doc: Add the stub of a manual. 2012-10-13 16:05:01 +02:00
guix.texi environment: Add --user. 2018-03-02 11:55:43 +01:00
htmlxref.cnf doc: htmlxref: Fix link to Emacs-Guix manual. 2017-05-30 18:30:39 +03:00
local.mk build: Declare “doc/guix.texi“ dependencies. 2018-01-20 00:45:29 +01:00
package-hello.scm doc: Use the recommended Scheme format. 2015-09-14 23:10:58 +02:00