Can't login to Alpine Linux container?

Thom Harris

New Member
May 25, 2016
2
0
1
45
I recently installed a new Proxmox 4.2 system, and then an Alpine Linux container. It runs fine, except I cannot log in..

If I type 'root' as the username, it delays a few seconds and says "Login Incorrect" and returns to the login prompt. I am not even asked for a password.

Is there some trick to the Alpine Linux login?
 
Is there a /etc/securetty file inside the alpine template? Make sure there are the following entries:

lxc/console
lxc/tty1
lxc/tty2
lxc/tty3
lxc/tty4

Latest pve-container 1.0-65 already has a fix for that, so It may be enough if you just update your installation and restart the container.
 
You are right, updating to the latest solved the problem. I can now authenticate and get into Alpine.

Thanks!
 
Hi - where did you get the alpine files from - is there a guide on how to use alpine on proxmox? thx