don't let the user get root in the VM
This is to enable bringing up lxd running as an unprivileged user in a tatl rootfs.
The following revision refers to this bug: https://chromium.googlesource.com/chromiumos/overlays/board-overlays/+/18af647c5a089bfc18e44ba9267c2871046fc732 commit 18af647c5a089bfc18e44ba9267c2871046fc732 Author: Stephen Barber <smbarber@chromium.org> Date: Sat Dec 02 01:57:52 2017 termina: enable chronos-only ssh for base images This is to enable bringing up lxd running as an unprivileged user in a tatl rootfs BUG= chromium:786658 TEST=login to base tatl image with ssh test key CQ-DEPEND=CL:795115 Change-Id: I979985067976f47e85013d0c7648507b8c3e86c4 Reviewed-on: https://chromium-review.googlesource.com/795114 Commit-Ready: Stephen Barber <smbarber@chromium.org> Tested-by: Stephen Barber <smbarber@chromium.org> Reviewed-by: Dylan Reid <dgreid@chromium.org> [rename] https://crrev.com/18af647c5a089bfc18e44ba9267c2871046fc732/project-termina/chromeos-base/termina-sshd-init/termina-sshd-init-0.0.1-r3.ebuild [modify] https://crrev.com/18af647c5a089bfc18e44ba9267c2871046fc732/project-termina/chromeos-base/termina-sshd-init/files/termina_sshd_config [modify] https://crrev.com/18af647c5a089bfc18e44ba9267c2871046fc732/project-termina/virtual/target-termina-os/target-termina-os-1.5.ebuild [modify] https://crrev.com/18af647c5a089bfc18e44ba9267c2871046fc732/project-termina/chromeos-base/termina-sshd-init/termina-sshd-init-0.0.1.ebuild [rename] https://crrev.com/18af647c5a089bfc18e44ba9267c2871046fc732/project-termina/virtual/target-termina-os/target-termina-os-1.5-r8.ebuild [modify] https://crrev.com/18af647c5a089bfc18e44ba9267c2871046fc732/project-termina/chromeos-base/chromeos-test-root/chromeos-test-root-1.5.ebuild [add] https://crrev.com/18af647c5a089bfc18e44ba9267c2871046fc732/project-termina/chromeos-base/termina-ssh-keys/termina-ssh-keys-0.0.1-r1.ebuild [rename] https://crrev.com/18af647c5a089bfc18e44ba9267c2871046fc732/project-termina/chromeos-base/chromeos-test-root/chromeos-test-root-1.5-r3.ebuild [add] https://crrev.com/18af647c5a089bfc18e44ba9267c2871046fc732/project-termina/chromeos-base/termina-ssh-keys/termina-ssh-keys-0.0.1.ebuild
The following revision refers to this bug: https://chromium.googlesource.com/chromiumos/platform2/+/5bfdf739f41ebb831840a2b4b24c7de3bdc3f4f8 commit 5bfdf739f41ebb831840a2b4b24c7de3bdc3f4f8 Author: Stephen Barber <smbarber@chromium.org> Date: Sat Dec 02 01:57:52 2017 vm_tools: launcher: start ssh from base image With CL:795114 ssh will be installed on the base image, so invoke ssh executables with the new path. BUG= chromium:786658 TEST=vm_launcher with --ssh flag CQ-DEPEND=CL:795114 Change-Id: I3767b9fc607e54a1eb8aacc04a3aa9d1c58381f6 Reviewed-on: https://chromium-review.googlesource.com/795115 Commit-Ready: Stephen Barber <smbarber@chromium.org> Tested-by: Stephen Barber <smbarber@chromium.org> Reviewed-by: Dylan Reid <dgreid@chromium.org> [modify] https://crrev.com/5bfdf739f41ebb831840a2b4b24c7de3bdc3f4f8/vm_tools/launcher/crosvm.cc
Comment 1 by dgreid@chromium.org
, Nov 20 2017