fluidd-core / FluiddPI

FluiddPi - A Pi image with Klipper, Moonraker, Fluidd and Web Camera support pre-installed.
https://docs.fluidd.xyz
GNU General Public License v3.0
299 stars 58 forks source link

[1.18.2] shadow password for user pi invalid #41

Closed bassco closed 2 years ago

bassco commented 2 years ago

I downloaded and installed 1.18.2 to see what was wrong with the ssh login.

Mounted the rootfs filesystem to look around and found the issue with the pi user that does not have a password set in /etc/shadow which is failling all logins.

HTH to find a fix.

v.1.18.2

# cat fluiddpi_version
0.4.0

# grep ^pi *shadow? passwd?
gshadow-:pi:!::
shadow-:pi:*:19086:0:99999:7:::
passwd-:pi:x:1000:1000:,,,:/home/pi:/bin/bash

😢 - fluiddpi_version is not updated with the tagged version number

Working version

cat fluiddpi_version
0.4.0
grep ^pi *shadow? passwd?
gshadow-:pi:!::
shadow-:pi:<REDACTED>:18754:0:99999:7:::
passwd-:pi:x:1000:1000:,,,:/home/pi:/bin/bash
matmen commented 2 years ago

This is a known issue in the 1.18.2 image (that's why it's marked a pre-release; 1.17.0 is fine, though) and has been fixed in the CustomPiOS already. We will release a new FluiddPi version with the next release of Fluidd. Thanks for reporting the fluiddpi_version issue, I'll look into having it updated automatically :)

bassco commented 2 years ago

Thanks for the feedback. Looking forward to the new release.

FYI: The release notes for 1.18.2 are also pointing to release 1.17.2 which is a broken release link.

I managed to add a password to the shadow file and am testing the rest of the functionality on the image.