-
Notifications
You must be signed in to change notification settings - Fork 270
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
[BUG]: Imager 1.9.0 - can't set login password using macOS 15.0.1 or Windows 11 #977
Comments
Update: I have used the imager several times over the last few years, and it has always worked as expected... |
Thanks for the report, @richb-hanover This is a fairly confusing one - in particular, the failure of the Concerning the password failure, its harder to determine what has precisely gone wrong. Ubuntu Server carries a different security posture to Raspberry Pi OS - and there have been numerous reports over the last few years of people failing to use |
@tdewey-rpi thanks for your response.
You're off the hook for now. I will look more carefully at the hash in the file on the microSD to see if I can see any anomalies. I'll report back if I see anything useful (or if I make everything work...) Thanks again |
Not a problem - better to report all issues and then discard them later, than miss critical user experience problems in a cloud of doubt.
Interesting - I wonder if our cloud-init configuration file is now incorrect for Ubuntu Server 24.04.
Good stuff - I'll hold this issue open for now, in case we see other reports. |
Hmmm... I did see some blah blah blah about this scroll by. Because I wasn't expecting it, I didn't pay attention. Let me gather more data (later this week - day job, etc) and report back when I have something that feels interesting. Thanks |
ping @waveform80 in case he's able to provide any useful insight 🙂 |
Update: I am still having trouble with this. I attempted to flash a microsd with blank login credentials (I quit the app, re-launched and clicked clear settings to get back to the un-configured state). I then set the mDNS name, the Wi-Fi credentials (no password - it's an open AP), and the time zone. I also checked "enable SSH" and "Allow Password". This got me to the state that I could not un-check the Set Username/password box. (Can I not use the default ubuntu/ubuntu password?) Also: I am still unable to supply user/password credentials - all are being rejected after booting up. @waveform80 - any thoughts? What other information can I provide? Many thanks. |
I just had a look at this in Raspberry Pi Imager v1.9.1 (running on Raspberry Pi OS), and I can confirm that if you set "Services -> Enable SSH - Allow public-key authentication only" then you can uncheck "General -> Set username and password"; but if you set "Services -> Enable SSH - Use password authentication" then you can't uncheck "General -> Set username and password". |
@lurch is correct - weakening the security posture around passwords isn't something I'm prepared to entertain. I may, however, consider improving the UI hints around this behaviour. |
Thank you for the speedy response.
I plan to attempt to build an image from 22.04 to see if the version makes a difference as hinted here |
I'll count that as a +1 for better OS customisation feedback!
Unfortunately, this isn't strictly a problem with Imager - there's multiple components in play:
I'd also suggest it's worth considering waveform80's response in the forums: https://forums.raspberrypi.com/viewtopic.php?t=278897 Specifically, it might just be that cloud-init has taken longer to run than expected, and thus the creation of your default account is taking longer than you might expect.
|
Cancel Code Red... :-) I now have a working system using both 22.04 and 24.04: the Raspberry Pi Imager 1.9.0 worked as expected for each. Here are the hurdles that I encountered (and that caused me to think that things were broken) and potential workarounds (in italics):
Thanks again for the detailed attention you gave to this issue |
Hooray! 🎉 Thank you for keeping us updated 👍
#718 suggests that this should already be possible. Has there been a regression? |
I cannot say whether there's been a regression - I didn't understand the info in #718 enough to say one way or the other... I entered the SSID and left the password field blank. Should that be enough? |
ping @cillian64 |
#718 only fixed it for raspberry pi OS. Ubuntu uses a different configuration mechanism (cloud-init), it sounds like that would need a different trick to configure an open network. |
Rather than always serialising the psk fields, conditionally serialise them if the length of the password field text is greater than 0. Fixes #977 in combination with users waiting for cloud-init to complete.
Closing this. I think the solution was waiting for the initial startup (see #977 (comment)) |
What happened?
I saw this behavior with Imager 1.9.0 running both on macOS 15.0.1 and on Windows 11.
I downloaded the imager from this github repo and installed it in the normal way. I then ran the imager, selecting:
I set the following:
then clicked Save.
I clicked YES for apply customisation settings, then cicked YES to erasing the media. I authorized the Mac to write the microSD, then it wrote and verified the media in the expected way.
Problems:
After checking the User/password checkbox, I could not de-select it.
More importantly, although the microSD card caused the RPi4 to boot as expected, after being presented with the
login:
prompt, those credentials (ubuntu/ubuntu) did NOT work. I cannot log in.What other troubleshooting information could I provide? Thanks
Version
1.9.0
What host operating system were you using?
Windows
Host OS Version
Windows 11; macOS 15.0.1
Selected OS
Ubuntu server 24.04.1 LTS
Which Raspberry Pi Device are you using?
Raspberry Pi 4B, 400, and Compute Modules 4, 4S
What kind of storage device are you using?
microSD Card in a USB reader
OS Customisation
Relevant log output
How would I get log files?
The text was updated successfully, but these errors were encountered: