guix-devel/guix/scripts
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
..
container ui: Rename '_' to 'G_'. 2017-05-03 16:16:17 +02:00
import import: Add JSON importer. 2017-09-28 13:10:11 +02:00
system guix system: Add 'search' command. 2017-09-16 17:47:46 +02:00
archive.scm scripts: All commands enable build hooks by default. 2017-12-07 23:12:37 +01:00
authenticate.scm ui: Rename '_' to 'G_'. 2017-05-03 16:16:17 +02:00
build.scm guix build: Support '--with-source=PACKAGE@VERSION=URI'. 2017-12-23 00:05:05 +01:00
challenge.scm scripts: Factorize option parsing sans 'GUIX_BUILD_OPTIONS'. 2017-10-28 09:45:53 +02:00
container.scm ui: Rename '_' to 'G_'. 2017-05-03 16:16:17 +02:00
copy.scm scripts: All commands enable build hooks by default. 2017-12-07 23:12:37 +01:00
download.scm Add (guix progress). 2017-10-19 23:21:49 +02:00
edit.scm ui: Rename '_' to 'G_'. 2017-05-03 16:16:17 +02:00
environment.scm environment: Add --user. 2018-03-02 11:55:43 +01:00
gc.scm guix gc: '--verify=foo' is reported as an error. 2017-12-18 23:17:30 +01:00
graph.scm graph: Remove mention of Graphviz from the summary line. 2017-10-28 09:45:54 +02:00
hash.scm scripts: Factorize option parsing sans 'GUIX_BUILD_OPTIONS'. 2017-10-28 09:45:53 +02:00
import.scm import: Add JSON importer. 2017-09-28 13:10:11 +02:00
lint.scm lint: 'check-vulnerabilities' also checks package properties. 2017-12-10 21:59:07 +02:00
offload.scm offload: Look at machine loads for the past minute. 2018-01-15 23:29:33 +01:00
pack.scm pack: Adjust '--manifest' documentation. 2018-02-16 00:45:29 +01:00
package.scm guix package: '--search' no longer shows superseded packages. 2018-02-27 15:46:56 +01:00
perform-download.scm derivations: Introduce 'read-derivation-from-file'. 2017-06-12 17:53:51 +02:00
publish.scm publish: Restore gzip compression in cache-less mode. 2018-01-22 11:15:50 +01:00
pull.scm scripts: All commands enable build hooks by default. 2017-12-07 23:12:37 +01:00
refresh.scm refresh: Account for hidden packages. 2017-11-07 00:12:10 +01:00
size.scm scripts: Factorize option parsing sans 'GUIX_BUILD_OPTIONS'. 2017-10-28 09:45:53 +02:00
substitute.scm build: Require Guile >= 2.0.13. 2018-02-26 18:19:34 +01:00
system.scm services: shepherd: Make 'shepherd-configuration-file' non-monadic. 2018-01-21 00:24:02 +01:00
weather.scm weather: Use (guix progress) for progress report. 2017-12-01 16:00:14 +01:00