-
Notifications
You must be signed in to change notification settings - Fork 97
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
It's not possible to login on an Alpine 3.19 RPi #2439
It's not possible to login on an Alpine 3.19 RPi #2439
Comments
looks like we are alwasy enabling the hwclock via dockerfile and not letting the init do it. Currently testing some changes to make it simpler. |
Since this is not reproducible anymore, I'll close and we can re-open if there are more data. |
The issue is still there, but you need to log in via ssh |
are these two duplicates? #1994 |
I tested this and it was working. Whats the difference between our RPI? network maybe? Can you tell me which exact artifact you tested and from sd/usb and network cable attached/dettached? Also login via tty1/2/serial? |
Note that i installed the rpi3 one instead by mistake :D installed via
|
I did not understand this correctly. Talked with @mauromorales directly, he told me that the issue is login via SSH. Checking the /etc/passwd file makes sense as the third field is a 0. That field is how many days passed since the last password change, and the 0 value is special as it means it needs to be changed on next login. My thinking here is that when the kairos user gets created, entities library checks to see how many days have passed since unix epoch and writes it to the file: https://github.com/mudler/entities/blob/master/pkg/entities/shadow.go#L140 2 things to do here:
|
Kairos version:
v3.0.4
CPU architecture, OS, and Version:
arm64 Raspberry Pi4
Describe the bug
If I try to log in, I get a message saying that the password has expired
To Reproduce
Burn an image and plug it on the rpi4, it will boot but you won't be able to log in
Expected behavior
Logs
Additional context
The text was updated successfully, but these errors were encountered: