[Lxc-users] centos6 container and root login

olx69 ope-linux at gmx.de
Mon Oct 22 19:19:36 UTC 2012


> Hello,
>
> basically I did follow
> http://wiki.1tux.org/wiki/Centos6/Installation/Minimal_installation_using_yum
>
> Additionally I added
>
> echo "pts/0" >> /etc/securetty
>
> to the lxc container to allow root login, but it doesn't allow me this.
> Any hints for this? The goal is to run postgresql 9.x, bacula 5.x and
> others inside the lxc env.
>
to be more precise, I've got after root/passwd phrase the option:

Would you like to enter a security context? [N]

and then no login is possible. I've started the lxc with

virsh -c lxc:/// start lxcvm
virsh -c lxc:/// console  lxcvm





More information about the lxc-users mailing list