lxc new container how to set password
hi all
I just created my first container, but now I am a bit stuck.
You just created an Ubuntu container (release=precise, arch=amd64, variant=default)
To enable sshd, run: apt-get install openssh-server
For security reason, container images ship without user accounts
and without a root password.
Use lxc-attach or chroot directly into the rootfs to set a root password
or create user accounts.
test@container-host:~$ lxc-ls --fancy
NAME STATE IPV4 IPV6 AUTOSTART
--------------------------------------------
mycontainer1 STOPPED - - NO
I have no clue how to use lxc-attach or chroot the set a root password.
How do I set the ubuntu container's password?
|