New issue
Advanced search Search tips

Issue 786658 link

Starred by 2 users

Issue metadata

Status: Fixed
Owner:
Closed: Dec 2017
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: Chrome
Pri: 1
Type: Bug



Sign in to add a comment

ssh to TATL image as a user, not as root

Project Member Reported by dgreid@chromium.org, Nov 18 2017

Issue description

don't let the user get root in the VM
 

Comment 1 by dgreid@chromium.org, Nov 20 2017

Summary: ssh to TATL image as a user, not as root (was: VM to TATL image as a user, not as root)
Cc: chirantan@chromium.org dgreid@chromium.org
This is to enable bringing up lxd running as an unprivileged user in a tatl rootfs.
Project Member

Comment 3 by bugdroid1@chromium.org, Dec 2 2017

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

Project Member

Comment 4 by bugdroid1@chromium.org, Dec 2 2017

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

Status: Fixed (was: Assigned)
Components: OS>Systems>Containers

Sign in to add a comment